diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 06:23:16 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 06:23:16 +0000 |
commit | 1ddbe9392e552c6a39219a4cb04516c2bbca60bc (patch) | |
tree | 3d4eb9617cdbf83281bd7ff28b34726e41c7b75a /ui/aura/test/test_window_delegate.h | |
parent | f4175ec2463eb9bdf7eabd6dba8318a9a064bcfc (diff) | |
download | chromium_src-1ddbe9392e552c6a39219a4cb04516c2bbca60bc.zip chromium_src-1ddbe9392e552c6a39219a4cb04516c2bbca60bc.tar.gz chromium_src-1ddbe9392e552c6a39219a4cb04516c2bbca60bc.tar.bz2 |
Move the content-dependent RecreateLayer logic from aura::Window to RWHVA
aura::Window is the wrong place to reason about all the different types of
external data that can go into layer, its delegate (RWHVA) is better suited. So
move that logic there.
BUG=263068
Review URL: https://chromiumcodereview.appspot.com/23444051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/test/test_window_delegate.h')
-rw-r--r-- | ui/aura/test/test_window_delegate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/aura/test/test_window_delegate.h b/ui/aura/test/test_window_delegate.h index fa46698..3e711f7 100644 --- a/ui/aura/test/test_window_delegate.h +++ b/ui/aura/test/test_window_delegate.h @@ -60,7 +60,8 @@ class TestWindowDelegate : public WindowDelegate { virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; virtual bool HasHitTestMask() const OVERRIDE; virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; - virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; + virtual void DidRecreateLayer(ui::Layer* old_layer, + ui::Layer* new_layer) OVERRIDE; private: int window_component_; |