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

Unified Diff: views/widget/native_widget_wayland.h

Issue 8378005: wayland: define base:NativeEvent for Wayland (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback. Created 9 years, 1 month 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 | « views/mouse_watcher.cc ('k') | views/widget/native_widget_wayland.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_wayland.h
diff --git a/views/widget/native_widget_wayland.h b/views/widget/native_widget_wayland.h
index 8431588335a10f833b63a167943c2b945a4be78b..52e29a5635f7e57da1da6e782a444c81c4c774bd 100644
--- a/views/widget/native_widget_wayland.h
+++ b/views/widget/native_widget_wayland.h
@@ -21,6 +21,12 @@
typedef struct _cairo_device cairo_device_t;
typedef struct _cairo_surface cairo_surface_t;
+namespace base {
+namespace wayland {
+union WaylandEvent;
+}
+}
+
namespace gfx {
class Rect;
}
@@ -127,13 +133,13 @@ class NativeWidgetWayland : public internal::NativeWidgetPrivate,
virtual bool ConvertPointFromAncestor(
const Widget* ancestor, gfx::Point* point) const OVERRIDE;
- virtual void OnMotionNotify(ui::WaylandEvent event) OVERRIDE;
- virtual void OnButtonNotify(ui::WaylandEvent event) OVERRIDE;
- virtual void OnKeyNotify(ui::WaylandEvent event) OVERRIDE;
- virtual void OnPointerFocus(ui::WaylandEvent event) OVERRIDE;
- virtual void OnKeyboardFocus(ui::WaylandEvent event) OVERRIDE;
+ virtual void OnMotionNotify(WaylandEvent event) OVERRIDE;
+ virtual void OnButtonNotify(WaylandEvent event) OVERRIDE;
+ virtual void OnKeyNotify(WaylandEvent event) OVERRIDE;
+ virtual void OnPointerFocus(WaylandEvent event) OVERRIDE;
+ virtual void OnKeyboardFocus(WaylandEvent event) OVERRIDE;
- virtual void OnGeometryChange(ui::WaylandEvent event) OVERRIDE;
+ virtual void OnGeometryChange(WaylandEvent event) OVERRIDE;
private:
typedef ScopedVector<ui::ViewProp> ViewProps;
« no previous file with comments | « views/mouse_watcher.cc ('k') | views/widget/native_widget_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698