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

Unified Diff: ui/aura/root_window_host_linux.h

Issue 10948020: Convert native mouse locations to the locations in screen coordinate in RootWindowHostLinux. (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/root_window.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_linux.h
diff --git a/ui/aura/root_window_host_linux.h b/ui/aura/root_window_host_linux.h
index 7bd34be2e0a450feacbb2502268d4ce22ad59dd2..21e95cedf39377cf433e537519b3372281ab1501 100644
--- a/ui/aura/root_window_host_linux.h
+++ b/ui/aura/root_window_host_linux.h
@@ -17,6 +17,7 @@
#include "ui/gfx/rect.h"
namespace ui {
+class MouseEvent;
class ViewProp;
}
@@ -78,6 +79,10 @@ class RootWindowHostLinux : public RootWindowHost,
// |current_cursor_|.
void SetCursorInternal(gfx::NativeCursor cursor);
+ // Translates the native mouse location into screen coordinates and and
+ // dispatches the event to RootWindowHostDelegate.
+ void TranslateAndDispatchMouseEvent(ui::MouseEvent* event);
+
RootWindowHostDelegate* delegate_;
// The display and the native X window hosting the root window.
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698