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

Unified Diff: ui/aura/root_window.h

Issue 10919135: Move ash specific cursor code to CursorManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « ui/aura/desktop/desktop_cursor_client.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index cdc05c0aed023ab96de755fc33d7662942885888..869802d78edc7035c4ec4480e48c95d9216cf73b 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -101,13 +101,6 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
static RootWindow* GetForAcceleratedWidget(gfx::AcceleratedWidget widget);
- static void set_hide_host_cursor(bool hide) {
- hide_host_cursor_ = hide;
- }
- static bool hide_host_cursor() {
- return hide_host_cursor_;
- }
-
ui::Compositor* compositor() { return compositor_.get(); }
gfx::NativeCursor last_cursor() const { return last_cursor_; }
Window* mouse_pressed_handler() { return mouse_pressed_handler_; }
@@ -370,11 +363,6 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
scoped_ptr<RootWindowHost> host_;
- // If set before the RootWindow is created, the cursor will be drawn within
- // the Aura root window but hidden outside of it, and it'll remain hidden
- // after the Aura window is closed.
- static bool hide_host_cursor_;
-
// Used to schedule painting.
base::WeakPtrFactory<RootWindow> schedule_paint_factory_;
« no previous file with comments | « ui/aura/desktop/desktop_cursor_client.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698