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

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: 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_host_linux.h
diff --git a/ui/aura/root_window_host_linux.h b/ui/aura/root_window_host_linux.h
index 7bd34be2e0a450feacbb2502268d4ce22ad59dd2..5a0b81bc386179c195a1da7af65a9d2a63dfec46 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);
+ // Calls RootWindowHostDelegate's OnHostMouseEvent after necessary coordinate
+ // conversions.
+ void OnHostMouseEventInternal(ui::MouseEvent* event);
oshima 2012/09/18 23:10:15 TranslateAndDispatchMouseEvent (or something that
mazda 2012/09/18 23:44:57 Done.
+
RootWindowHostDelegate* delegate_;
// The display and the native X window hosting the root window.

Powered by Google App Engine
This is Rietveld 408576698