summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
authordbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 05:10:59 +0000
committerdbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 05:10:59 +0000
commit3212d395332e1da75dc8624412303d6b15f9926b (patch)
tree9c7d1049d2198a2465474a91b69d7431dd245a83 /ui/aura/window.h
parent56b4dd97a2ff7472321696c2008ff9e578bddcb1 (diff)
downloadchromium_src-3212d395332e1da75dc8624412303d6b15f9926b.zip
chromium_src-3212d395332e1da75dc8624412303d6b15f9926b.tar.gz
chromium_src-3212d395332e1da75dc8624412303d6b15f9926b.tar.bz2
Revert 118057 - Add a simple animation when showing/hiding windows.
http://crbug.com/110024 TEST=none Review URL: http://codereview.chromium.org/9167032 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9249009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118060 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r--ui/aura/window.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 698c90e..73ba2dd 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -72,16 +72,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
ui::Layer* layer() { return layer_.get(); }
const ui::Layer* layer() const { return layer_.get(); }
- // Releases the Window's reference to its layer, and returns it.
- // This is used when you need to animate the presentation of the Window just
- // prior to destroying it. The window can be destroyed soon after calling this
- // function, and the caller is then responsible for disposing of the layer
- // once any animation completes.
- // Note that Window methods generally don't expect a NULL layer, and so this
- // function should only be called right before destroying the Window,
- // otherwise you will crash.
- ui::Layer* AcquireLayer();
-
WindowDelegate* delegate() { return delegate_; }
const gfx::Rect& bounds() const;