summaryrefslogtreecommitdiffstats
path: root/ui/views/widget
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 23:38:22 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 23:38:22 +0000
commit7a747b5992ad9de44e2653a85a6fd78254cfe535 (patch)
tree3b626c4617a9c363dba7c68ec388b7b87aee2321 /ui/views/widget
parenteaf8a342157e5bdf3fc1a8ce7817f1fb11af799e (diff)
downloadchromium_src-7a747b5992ad9de44e2653a85a6fd78254cfe535.zip
chromium_src-7a747b5992ad9de44e2653a85a6fd78254cfe535.tar.gz
chromium_src-7a747b5992ad9de44e2653a85a6fd78254cfe535.tar.bz2
Wires up disabling visibility animations for aura, and explicitly
disables animations for browser tests as other wise code that gets bounds and does calculates based on that ends up with the wrong thing. BUG=111086 TEST=none R=ben@chromium.org,phadjan.jr@chromium.org TBR=phadjan.jr@chromium.org Review URL: https://chromiumcodereview.appspot.com/9160020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/widget')
-rw-r--r--ui/views/widget/native_widget_aura.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index 0400abe..ae51c99 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -588,7 +588,7 @@ void NativeWidgetAura::EndMoveLoop() {
}
void NativeWidgetAura::SetVisibilityChangedAnimationsEnabled(bool value) {
- // Nothing needed on aura.
+ window_->SetIntProperty(aura::client::kAnimationsDisabledKey, value ? 0 : 1);
}
////////////////////////////////////////////////////////////////////////////////