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

Unified Diff: ui/aura/root_window.h

Issue 10543174: Aura: Add Window::MoveCursorTo() taking relative location to the window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 8 years, 6 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 | « content/browser/renderer_host/render_widget_host_view_aura.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 bf1918c6e1461dbab3cacf42a4c99586d1c4519d..ce694a8946979526ea772679d3e600c7eef5f277 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -100,6 +100,10 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
focus_manager_ = focus_manager;
}
+#ifdef UNIT_TEST
+ RootWindowHost* host() { return host_.get(); }
Ben Goodger (Google) 2012/06/18 16:50:21 can we expose QueryMouseLocation() on RootWindow r
yoshiki 2012/06/18 18:49:39 Done.
+#endif
+
// Initializes the root window.
void Init();
@@ -126,7 +130,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
void ShowCursor(bool show);
// Moves the cursor to the specified location relative to the root window.
- void MoveCursorTo(const gfx::Point& location);
+ virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
// Clips the cursor movement to the root_window.
bool ConfineCursorToWindow();
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698