summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/window_delegate.h')
-rw-r--r--ui/aura/window_delegate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index ba25a12..fb98de7 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -6,6 +6,7 @@
#define UI_AURA_WINDOW_DELEGATE_H_
#include "base/compiler_specific.h"
+#include "base/memory/ref_counted.h"
#include "ui/aura/aura_export.h"
#include "ui/base/events/event_constants.h"
#include "ui/base/events/event_handler.h"
@@ -23,6 +24,7 @@ namespace ui {
class GestureEvent;
class KeyEvent;
class MouseEvent;
+class Texture;
class TouchEvent;
}
@@ -94,6 +96,10 @@ class AURA_EXPORT WindowDelegate : public ui::EventHandler {
// above returns true.
virtual void GetHitTestMask(gfx::Path* mask) const = 0;
+ // Called from RecreateLayer() if the layer the window is associated with has
+ // an external texture.
+ virtual scoped_refptr<ui::Texture> CopyTexture() = 0;
+
protected:
virtual ~WindowDelegate() {}