 Chromium Code Reviews
 Chromium Code Reviews Issue 10948020:
  Convert native mouse locations to the locations in screen coordinate in RootWindowHostLinux.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 10948020:
  Convert native mouse locations to the locations in screen coordinate in RootWindowHostLinux.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| 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. |