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

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: fix tests and 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
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 7cd317b8b3869cc0665b2afd0b5cd640e50f3eb4..76e711592f261d7004985aae7d44b94eeac32aba 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_; }
@@ -367,11 +360,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