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

Unified Diff: components/exo/pointer.h

Issue 1696533003: exo: Default pointer surface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/pointer.h
diff --git a/components/exo/pointer.h b/components/exo/pointer.h
index ac51b3ba8ccb485934ec2dbfd9a4d4cd2c80f5d6..5c1f3eef4e98e243908e9174cc7e5385e0cc18d8 100644
--- a/components/exo/pointer.h
+++ b/components/exo/pointer.h
@@ -23,6 +23,7 @@ class Widget;
}
namespace exo {
+class Buffer;
class PointerDelegate;
class Surface;
@@ -78,6 +79,10 @@ class Pointer : public ui::EventHandler,
// The position of the pointer surface relative to the pointer location.
gfx::Point hotspot_;
+ // The default cursor surface.
+ scoped_ptr<Surface> default_surface_;
+ scoped_ptr<Buffer> default_cursor_;
+
DISALLOW_COPY_AND_ASSIGN(Pointer);
};
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698