This is causing TestCSP to fail on chromium.mac

Revert 207470 "[Mac] Fix the problem that a popup could be close..."

> [Mac] Fix the problem that a popup could be closed while it is still in animation.
> 
> This occurs when the test code creates a popup and close the collection immediately. The fix is to close the popup without animation for this case.
> 
> All the popup animations are coordinated by the popup collection. Added DCHECKs in the popup controller to guard the places that might trigger the 2nd animation while the previous animation has not ended.
> 
> BUG=249131
> TEST=reenable the disabled test
> R=dewittj@chromium.org, rsesek@chromium.org
> 
> Review URL: https://codereview.chromium.org/17468007

TBR=jianli@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207503 0039d316-1c4b-4281-b951-d872f2087c98
Revert 207500 "Update system_api for WiFiService frequency list"

> Update system_api for WiFiService frequency list
> 
> BUG=247548
> R=derat@chromium.org
> 
> Review URL: https://codereview.chromium.org/17431005

TBR=stevenjb@chromium.org,derat@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207505 0039d316-1c4b-4281-b951-d872f2087c98
Make managed user avatar label clickable (views).

When clicking on the managed user avatar label, the avatar
menu bubble will be shown with the arrow pointing to the
location where the user has clicked. A screenshot can be
found in the bug description (views_label_clicked.png).

BUG=241387

Review URL: https://chromiumcodereview.appspot.com/16881003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207506 0039d316-1c4b-4281-b951-d872f2087c98
Use a direct include of strings headers, delete some strings forwarding headers.

BUG=247723
TEST=everything compiles OK
TBR=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207507 0039d316-1c4b-4281-b951-d872f2087c98
Add a hide_layer_and_subtree() flag to cc::Layer

This flag does what it says. We can use this flag to simplify ui::Layer
as it was recursively calling SetIsDrawable() instead, and now can just
SetHideLayerAndSubtree() on a single layer.

This flag is needed to allow readbacks of layers that are have hidden
visibility (possibly due to an ancestor).

Tests:
LayerTest.CheckPropertyChangeCausesCorrectBehavior
LayerImplTest.VerifyLayerChangesAreTrackedProperly
LayerTreeHostCommonTest.SubtreeHidden_SingleLayer
LayerTreeHostCommonTest.SubtreeHidden_SingleLayerImpl
LayerTreeHostCommonTest.SubtreeHidden_TwoLayers
LayerTreeHostCommonTest.SubtreeHidden_TwoLayersImpl

R=enne, piman
BUG=242572

Review URL: https://chromiumcodereview.appspot.com/16896017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207508 0039d316-1c4b-4281-b951-d872f2087c98
Increase time out for NavigateLogin.

This timeout is cutting it too close, in rare situations, login can take a little longer. I'm seeing some flakes on this.

BUG=NONE
TEST=manual
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/16959017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207509 0039d316-1c4b-4281-b951-d872f2087c98
Make sure if GPU process fails to launch, all observers waiting for full gpu info get a response.

Try to reland this CL.  Original review is in https://codereview.chromium.org/12335100.

The original CL was landed in r184995 and was reverted in 185004 due to some test failures on vista.

BUG=174296
TEST=AutofillRiskFingerprintTest.GetFingerprint
TBR=apatrick@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207510 0039d316-1c4b-4281-b951-d872f2087c98
ash: Add flags for specifying default wallpaper.

This adds new command-line flags for specifying image files
that will be used as default wallpaper:

  --ash-default-guest-wallpaper-large
  --ash-default-guest-wallpaper-small
  --ash-default-wallpaper-large
  --ash-default-wallpaper-small

This makes it easier for Chrome OS to have per-device custom
wallpaper. (We previously loaded the default wallpaper from
a resource file, but that prevents the same build of Chrome
from being used on different devices.)

BUG=248764

Review URL: https://chromiumcodereview.appspot.com/16982006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207511 0039d316-1c4b-4281-b951-d872f2087c98
Animate clearing all notifications for Windows.

It starts by sliding out the topmost visible notification in the tray view. Then the notification below will start to slide out after a short delay. After the bottom-most visible notification has been slided out, the tray will be closed.

When the clear-all animation is in progress, the buttons and scroll bars are disabled to prevent the user from clicking on them accidentally.

BUG=244606
TEST=manual test by clearing all notifications in the tray
R=dewittj@chromium.org, dimich@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207512 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] Add MakeDirectory to the file_io example.

Also refactor to make it easier to show examples of other functions too.

Also change deprecated window.webkitStorageInfo.requestQuota -> navigator.webkitPersistentStorage.requestQuota

BUG=246269
R=sbc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207513 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] Remove gtest_ppapi

We can replace a lot of it using ppapi_simple.

This change also modifies nacl_io_test (the only user of gtest_ppapi),
and makes its output look a little nicer.

BUG=none
R=sbc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207514 0039d316-1c4b-4281-b951-d872f2087c98
Migrate CompositingReasons to uint64.

We've already used up the 32-bit enum, and planning to continue adding more 
compositing reasons, so we need to expand to 64-bit values.

Blink side is here: https://codereview.chromium.org/16994010/.

BUG=240946

Review URL: https://chromiumcodereview.appspot.com/17138004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207515 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Support building standalone APK in component build

Many people's workflows assume that they can install the APK created in
out/Debug/apks. With the component build that APK is actually an
"incomplete" APK that cannot be manually installed (or rather causes
obscure errors when manually installed).

This change does two things. First, it moves the "incomplete" APK
output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
accidental installs of the "incomplete" APK. Second, it introduces an
option (create_standalone_apk) that when doing a component build, if
set, will merge the shared libraries into the "incomplete" APK to
create a standalone APK. This standalone APK will be created in
out/Debug/apks/.

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

Review URL: https://chromiumcodereview.appspot.com/14843017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207516 0039d316-1c4b-4281-b951-d872f2087c98
Add a switch to retain video playback on lost focus

In Android, default behavior is to pause video playback when the app
goes background. However, in some apps, it is preferable to retain
video playback even when the app lost the focus. Add a switch for this
behavior so that apps can choose whether to use this behavior or not.

BUG=249985
R=qinmin@chromium.org,ycheo@chromium.org,jochen@chromium.org,joi@chromium.org

Review URL: https://chromiumcodereview.appspot.com/16914005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207517 0039d316-1c4b-4281-b951-d872f2087c98
Fixed javascript errors in early initialization in Files.app.

Sometimes, when a user resized the window while the initialization was in progress, a javascript errors occured. Directory tree can't be relayouted when it is not created yet. The directory tree is created in late initialization, therefore we have to check if it is already created before allinc the relayout() method on it.

TEST=Tested manually.
BUG=None

Review URL: https://chromiumcodereview.appspot.com/17044004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207518 0039d316-1c4b-4281-b951-d872f2087c98
Don't crash when SimpleCache index is corrupt.

Some new histograms didn't deal with the failure case properly. Now fixed.

BUG=251465
R=pasko@chromium.org, rdsmith@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207520 0039d316-1c4b-4281-b951-d872f2087c98
Record error when CreateDir fails.

There's not been too much success retrying CreateDir in the wild. Only
once has it succeeded after an error. This patch will let us see what
errors it is encountering and can't recover from.

BUG=225051

Review URL: https://chromiumcodereview.appspot.com/17151017

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

The warning was caused by race inside XFixes when running
ScreenCaptureDeviceTest and ScreenCapturerTest. ScreenCapturerDevice uses
XFixes on a parallel thread that later competes with ScreenCapturerTest.
The failure doesn't happen anymore because the tests have been moved to
different locations (content and webrtc), so the suppressions are not
needed anymore.

It's not completely clear what causes the failure in the first place.
XextFindDisplay() seems to be thread-safe (
http://cvsweb.xfree86.org/cvsweb/*checkout*/xc/lib/Xext/extutil.c?rev=1.8
) - it locks _Xglocal_lock before accessing global values.

BUG=222601
R=wez@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207522 0039d316-1c4b-4281-b951-d872f2087c98
content_shell: Use a ThreadRestrictions::ScopedAllowWait for layout tests on Android.

Because of the nested message pump implementation used by Android for
running layout tests, which uses a base::WaitableEvent to wait for new
messages, we need to allow waiting on the UI thread.

The ScopedAllowWaitForAndroidLayoutTest class has been implemented as
a member of the WebKitTestController, to ensure that the exception's
lifetime is tied to the layout test controller itself.

BUG=232044
R=jam@chromium.org, jochen@chromium.org

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

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