Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: ui/aura/window_delegate.h

Issue 23444051: Move the content-dependent RecreateLayer logic from aura::Window to RWHVA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_aura Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/aura/window_delegate.h
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index bcbd2a6984ccc758c48607fc853f4b7fbc981402..3a89c2ef1f02e99e8fdd3ea094c592e1d75e3309 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -23,6 +23,7 @@ class Size;
namespace ui {
class GestureEvent;
class KeyEvent;
+class Layer;
class MouseEvent;
class Texture;
class TouchEvent;
@@ -97,7 +98,7 @@ class AURA_EXPORT WindowDelegate : public ui::EventHandler {
// Called from RecreateLayer() if the layer the window is associated with has
sky 2013/09/11 01:57:23 nit: update comment as it appears to be wrong.
piman 2013/09/12 01:02:33 Done.
// an external texture.
- virtual scoped_refptr<ui::Texture> CopyTexture() = 0;
+ virtual void DidRecreateLayer(ui::Layer* old_layer, ui::Layer* new_layer) = 0;
protected:
virtual ~WindowDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698