diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 17:23:16 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 17:23:16 +0000 |
commit | 2181fd1d0fd0e9b780da88abab4b5eca0caf2ddf (patch) | |
tree | 9f711c6546469d690082d0ce2a65a9478bed81d4 /mojo/examples/aura_demo | |
parent | e942580d0a9919c6c1e57c18a6d9967afe60d914 (diff) | |
download | chromium_src-2181fd1d0fd0e9b780da88abab4b5eca0caf2ddf.zip chromium_src-2181fd1d0fd0e9b780da88abab4b5eca0caf2ddf.tar.gz chromium_src-2181fd1d0fd0e9b780da88abab4b5eca0caf2ddf.tar.bz2 |
Move layer recreation logic entirely into LayerOwner::RecreateLayer().
This methods is no longer overridden by Window/View. LayerOwner now gets its own delegate interface that is used to notify the RWHVA that the layer was recreated.
Net effect is removal of DidRecreateLayer() from WindowDelegate.
R=sky@chromium.org
http://crbug.com/308845
Review URL: https://codereview.chromium.org/211873002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/aura_demo')
-rw-r--r-- | mojo/examples/aura_demo/aura_demo.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mojo/examples/aura_demo/aura_demo.cc b/mojo/examples/aura_demo/aura_demo.cc index a65036a..b176f6d 100644 --- a/mojo/examples/aura_demo/aura_demo.cc +++ b/mojo/examples/aura_demo/aura_demo.cc @@ -76,8 +76,6 @@ class DemoWindowDelegate : public aura::WindowDelegate { virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE {} virtual bool HasHitTestMask() const OVERRIDE { return false; } virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} - virtual void DidRecreateLayer(ui::Layer* old_layer, - ui::Layer* new_layer) OVERRIDE {} private: SkColor color_; |