Fix the Windows 8 mode avatar button menu.

Metro's avatar button is no-op w/--new-profile-management.
This may have regressed with r270126, but I'm not sure how.

IsNewAvatarMenu returns true in metro (r263677, r263396).
However, GetNewAvatarMenuButton returns NULL in metro.
(the new button isn't implemented for that frame, afaict)
So ShowAvatarBubbleFromAvatarButton currently does nothing.
Instead, anchor to the avatar menu button or app menu.

Remove the unused |anchor_rect| parameter.

BUG=382895
R=noms@chromium.org,sky@chromium.org
TEST=Avatar button works in Windows 8 mode (metro) with .

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277857 0039d316-1c4b-4281-b951-d872f2087c98
Add --enable-show-modal-dialog to chrome

This flag will be controlled via enterprise policy to reenable the
deprecated window.showModalDialog API to extend the time window for
porting apps to other APIs.

The flag will eventually be removed as well.

BUG=345831
R=atwilson@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277858 0039d316-1c4b-4281-b951-d872f2087c98
Pepper: Add VP9 support to PPB_VideoDecoder API.
Improve documentation for Reset and Flush.
Use VpxVideoDecoder in implementation code.

BUG=281689

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277860 0039d316-1c4b-4281-b951-d872f2087c98
Log QuicGoAwayFrames and QuicPingFrames, sent and received, in net log.

BUG=

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

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

Called from android logging macro used in mesa.

BUG=358029

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277862 0039d316-1c4b-4281-b951-d872f2087c98
Support to remove passwords by date_synced timestamp.

The new method RemoveLoginsSyncedBetween() works exactly like the existing RemoveLoginsCreatedBetween(). 

BUG=362679
TBR=zea@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277863 0039d316-1c4b-4281-b951-d872f2087c98
Remove redundant use_nonsfi_mode from SelLdrStartParams.

The params is used for ServiceRuntime::StartSelLdr(). ServiceRuntime
already knows if it is for nonsfi or not. So the use_nonsfi_mode in
SelLdrStartParams is just redundant. Remove it.

BUG=333950
TEST=Ran browser_tests --gtest_filter=*NonSfi*:*NonSFI* locally, and trybots.
CQ_EXTRA_TRYBOTS=tryserver.chromium:linux_rel_precise32

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277864 0039d316-1c4b-4281-b951-d872f2087c98
Don't stop and restart GCM when extension/app is being updated

BUG=384010
TEST=new tests added

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277865 0039d316-1c4b-4281-b951-d872f2087c98
Do not filter the picker window with Aura.
The picker window is embedded in the parent window and does not have its own native window.

TESTED=verified on Linux, Win and ChromeOS that the picker window is not listed to share with or without a delegate tab, and the chrome window is correctly listed.

BUG=384370

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277866 0039d316-1c4b-4281-b951-d872f2087c98
Linux sandbox: add sandbox_linux_unittests.isolate

BUG=384514
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277867 0039d316-1c4b-4281-b951-d872f2087c98
Browser tests for multiprofile settings.

Check the preferences thaht can be controlled by other users.
Also look for the secondary user banner, and controlled-by
indicators in headings.

BUG=359578
R=nkostylev@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277868 0039d316-1c4b-4281-b951-d872f2087c98
Disables the Actions test on linux ASAN (flakiness).

BUG=385701
TBR=aboxhall@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277869 0039d316-1c4b-4281-b951-d872f2087c98
Add notification title back to ChromeOS.

Fixes regression introduced by r276036 that removed the title from
the notification center on ChromeOS.

BUG=350449

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277870 0039d316-1c4b-4281-b951-d872f2087c98
Enable gallery watches on Mac

Resubmit of https://codereview.chromium.org/332003002

BUG=144491

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277871 0039d316-1c4b-4281-b951-d872f2087c98
Remove unneeded test file

The file chrome/test/data/extensions/api_test/gcd_private/api/trun is unneeded.

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277872 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Linux sandbox: add sandbox_linux_unittests.isolate (https://codereview.chromium.org/340523006/)

Reason for revert:
Breaking linux_chromium_clang_dbg 

[7609/24970 | 449.637] SOLINK lib/libmojo_launcher.so
FAILED: cd ../../sandbox; python ../tools/isolate_driver.py check --isolated "../out/Debug/sandbox_linux_unittests.isolated" --isolate "linux/sandbox_linux_unittests.isolate" --path-variable DEPTH .. --path-variable PRODUCT_DIR "../out/Debug " --extra-variable "version_full=37.0.2056.0" --config-variable "OS=linux" --config-variable "chromeos=0" --config-variable "component=shared_library" --config-variable "internal_gles2_conform_tests=0" --config-variable "icu_use_data_file_flag=1" --config-variable "libpeer_target_type=static_library" --config-variable "use_openssl=0" --ignore_broken_items
Traceback (most recent call last):
  File "../tools/isolate_driver.py", line 279, in <module>
    sys.exit(main())
  File "../tools/isolate_driver.py", line 269, in main
    create_wrapper(args, isolate, isolated)
  File "../tools/isolate_driver.py", line 194, in create_wrapper
    assert os.path.basename(isolate) == isolate, isolate
AssertionError: linux/sandbox_linux_unittests.isolate
ninja: build stopped: subcommand failed.


Original issue's description:
> Linux sandbox: add sandbox_linux_unittests.isolate
> 
> BUG=384514
> NOTRY=true
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277867

TBR=nodir@chromium.org,vadimsh@chromium.org,maruel@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=384514

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277875 0039d316-1c4b-4281-b951-d872f2087c98
Add enable_vp9 option to host config.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277876 0039d316-1c4b-4281-b951-d872f2087c98
Update omnibox search button icons.

BUG=373344
TEST=none
R=oshima@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277877 0039d316-1c4b-4281-b951-d872f2087c98
views: Move MenuButton from TextButton to LabelButton.

This also converts the TextButtons in the BookmarkBarView to LabelButtons, since they need to have the same base class as MenuButton does. This also standardizes on fade eliding instead of fade eliding sometimes and ellipsis eliding in other cases.

This patch has the effect that everything on the bookmark bar also renders with GTK+ borders in GTK theme mode on Linux.

BUG=155363

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277878 0039d316-1c4b-4281-b951-d872f2087c98
Support casting for embedded YT videos

This is part 1 of the code to start supporting embedded YT for cast. The main
issue is that YT embedded videos need to be identified via the frame that
contains it. This CL sets the frame URL of each video in the MediaPlayerAndroid
object.

Clank downstream piece to come later. 
Min / Aaron: will send you the doc I have that explains this in more detail.

BUG=358573

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277425

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

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