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

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: address comment 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
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 9db3aa4475fcf74ef5129cfff3447bc380241059..2377ff558809c05ad3fa515c8ecfb7f0d4060de3 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -89,13 +89,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_; }
@@ -351,11 +344,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_;

Powered by Google App Engine
This is Rietveld 408576698