Fix zoom bubble 'Reset to default' button activation issues.

R=msw@chromium.org, pkasting@chromium.org
BUG=315002

Review URL: https://codereview.chromium.org/65253004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235248 0039d316-1c4b-4281-b951-d872f2087c98
Fix shell_aura.cc with RootWindow refactor

To get aura::Window we need to call root_window_->window().

NOTRY=true

Review URL: https://codereview.chromium.org/72013002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235254 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Trivial cleanup -- remove unneeded test fixture in test.

R=sky@chromium.org, sky

Review URL: https://codereview.chromium.org/73243002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235255 0039d316-1c4b-4281-b951-d872f2087c98
Mark all GN targets as external.

This prevents GN from writing any GYP files in gyp mode in the current build so I can land the build integration separately from the target generation.

BUG=
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/73303002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235256 0039d316-1c4b-4281-b951-d872f2087c98
Fix CRLF line endings in id_mapping_helper* files.

TBR=lipalani@chromium.org

Review URL: https://codereview.chromium.org/65203005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235257 0039d316-1c4b-4281-b951-d872f2087c98
Remove suppressions for MessagePortChannel

These were fixed four years after they were filed, in
http://src.chromium.org/viewvc/blink?view=rev&rev=161083

BUG=27838,28200,311229
TBR=timurrrr@chromium.org

Review URL: https://codereview.chromium.org/69953027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235258 0039d316-1c4b-4281-b951-d872f2087c98
InstantExtended: update tests for Instant Extended (part 7).

Work around some of our unit and interactive UI tests don't work with the
cacheable NTP. This is a no-op right now but will be necessary once the
cacheable NTP is on by default. We should clean up these tests after flipping
the defaults.

Also disable a test that keeps flaking.

(Note that this is split off from http://crrev.com/24733003.)

BUG=297915
R=jered@chromium.org

Review URL: https://codereview.chromium.org/70073008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235261 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 161994:162026

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=161995:162026&mode=html
TBR=
BUG=

Review URL: https://codereview.chromium.org/64943004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235262 0039d316-1c4b-4281-b951-d872f2087c98
Fix for crash related to tab restore containing NPAPI plugins in metro/ash environment. This crash happens because
as it stands right now, background tabs are not added in ash/shell root window hierarchy until they become active, but
renderviewcreated notification is sent whenever tab views are created. We use renderviewcreated notification to block
npapi plugin from loading if view is on ash/metro desktop. This CL modifies this logic with detection of last known active desktop.

This is a temporary fix as there could be instances on both desktop at the same time, which could break global state.

R=bauerb@chromium.org, cpu@chromium.org, ananta, cpu
TBR=bauerb@chromium.org
BUG=317940

Review URL: https://codereview.chromium.org/73153002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235263 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235264 0039d316-1c4b-4281-b951-d872f2087c98
Docserver: Fix apps GitHub example links.

R=miket@chromium.org

Review URL: https://codereview.chromium.org/73383002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235265 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash in WebContentsViewAura::WindowObserver that happens when switching tabs. The exact repro steps were:

1) open an empty page
2) print preview
3) open a new tab
4) go back to original tab
5) close print preview
6) switch to the new tab

The crash happened at step 4 because the second tab got removed from the same root window as the print preview's observer. We weren't unobserving all the children of the root window at that point.

BUG=318791
R=ben@chromium.org

Review URL: https://codereview.chromium.org/69813005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235267 0039d316-1c4b-4281-b951-d872f2087c98
Set SK_DEFAULT_FONT_CACHE_COUNT_LIMIT=256 on windows only

Having this limit be 256 instead of the default 2k seems to hurt the page
cyclers on mac.  256 and 2048 seem the same on windows, and having the limit
be high on windows can cause more serious problems due to GDI handle limits.

R=cpu@chromium.org, cpu
TBR=reed
NOTRY=true
BUG=314387

Review URL: https://codereview.chromium.org/59883016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235268 0039d316-1c4b-4281-b951-d872f2087c98
Docserver: Fix property type rendering issue after r235216.

TBR=yoz@chromium.org

Review URL: https://codereview.chromium.org/67473006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235272 0039d316-1c4b-4281-b951-d872f2087c98
Revert 235267 "Fix crash in WebContentsViewAura::WindowObserver ..."

> Fix crash in WebContentsViewAura::WindowObserver that happens when switching tabs. The exact repro steps were:
> 
> 1) open an empty page
> 2) print preview
> 3) open a new tab
> 4) go back to original tab
> 5) close print preview
> 6) switch to the new tab
> 
> The crash happened at step 4 because the second tab got removed from the same root window as the print preview's observer. We weren't unobserving all the children of the root window at that point.
> 
> BUG=318791
> R=ben@chromium.org
> 
> Review URL: https://codereview.chromium.org/69813005

TBR=jam@chromium.org

Review URL: https://codereview.chromium.org/63013004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235277 0039d316-1c4b-4281-b951-d872f2087c98
Revert 234978 "Added permission for chrome.app.window alwaysOnTo..."

> Added permission for chrome.app.window alwaysOnTop property
> 
> Apps that wish to enable the alwaysOnTop property for app windows must
> now declare the "alwaysOnTopWindows" permission in their manifest.
> This permission does not appear in install prompts.
> 
> BUG=314260, 171597
> TEST=browser_tests (PlatformAppBrowserTest.WindowsApiAlwaysOnTop*).
> Manual test: Create an app which does not specify this permission and
> attempts to create a new window with the option enabled or calls
> setAlwaysOnTop(true) on an existing window. The window should not be
> always on top. The option should work for apps which do declare the
> permission.
> 
> Review URL: https://codereview.chromium.org/68423003

This could not be merged into M32. We need to limit the always on top feature
more, which will not merge into M32 with this change, so this is being
reverted temporarily.

TBR=tmdiep@chromium.org

Review URL: https://codereview.chromium.org/62803005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235279 0039d316-1c4b-4281-b951-d872f2087c98
Disable linux_aura on the main builders.

Currently, browser_tests are running 2x-3x slower on the bots. Our first
dev channel has been very enlightening and got people to file all sorts
of helpful bugs.

BUG=319075,125106,303342,318961
NOTRY=True
R=cmp@chromium.org

Review URL: https://codereview.chromium.org/73323002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235280 0039d316-1c4b-4281-b951-d872f2087c98
Update expectations for size/chrome-si/initializers (for perf IMPROVE)

BUG=none
TBR=eae

Review URL: https://codereview.chromium.org/73643002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235281 0039d316-1c4b-4281-b951-d872f2087c98
Release capture when losing focus to all modal dialog types

When in classic (non-DWM), if a modal dialog was opened on mouse down
rather than the usual mouse up, capture wouldn't be released, so mouse
events would continue being sent to the parent window where the window
modality controller would block them.

This is very similar to (the very old)
https://chromiumcodereview.appspot.com/10170036 More modal dialog
types have been added since then, so using != NONE fixes the problem
(in the case of an alert it's MODAL_TYPE_SYSTEM, not MODAL_TYPE_WINDOW).

R=sky@chromium.org
BUG=312407

Review URL: https://codereview.chromium.org/68283004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235282 0039d316-1c4b-4281-b951-d872f2087c98
Enable logging of Chromoting performance statistics in Android client.

BUG=295769
NOTRY=true

Review URL: https://codereview.chromium.org/59773006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235283 0039d316-1c4b-4281-b951-d872f2087c98