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

Unified Diff: ui/wayland/wayland_widget.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 | « ui/wayland/wayland_input_device.cc ('k') | ui/wayland/wayland_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wayland/wayland_widget.h
diff --git a/ui/wayland/wayland_widget.h b/ui/wayland/wayland_widget.h
index f274141d0f951f72f63dd598d8338c8a823af964..1c4e40dc888f0cdee710675ff2ebd601d5946487 100644
--- a/ui/wayland/wayland_widget.h
+++ b/ui/wayland/wayland_widget.h
@@ -5,7 +5,11 @@
#ifndef UI_WAYLAND_WAYLAND_WIDGET_H_
#define UI_WAYLAND_WAYLAND_WIDGET_H_
-#include "ui/wayland/events/wayland_event.h"
+namespace base {
+namespace wayland {
+union WaylandEvent;
+}
+}
namespace ui {
@@ -14,13 +18,13 @@ class WaylandWidget {
public:
virtual ~WaylandWidget() {}
- virtual void OnMotionNotify(WaylandEvent event) = 0;
- virtual void OnButtonNotify(WaylandEvent event) = 0;
- virtual void OnKeyNotify(WaylandEvent event) = 0;
- virtual void OnPointerFocus(WaylandEvent event) = 0;
- virtual void OnKeyboardFocus(WaylandEvent event) = 0;
+ virtual void OnMotionNotify(base::wayland::WaylandEvent event) = 0;
+ virtual void OnButtonNotify(base::wayland::WaylandEvent event) = 0;
+ virtual void OnKeyNotify(base::wayland::WaylandEvent event) = 0;
+ virtual void OnPointerFocus(base::wayland::WaylandEvent event) = 0;
+ virtual void OnKeyboardFocus(base::wayland::WaylandEvent event) = 0;
- virtual void OnGeometryChange(WaylandEvent event) = 0;
+ virtual void OnGeometryChange(base::wayland::WaylandEvent event) = 0;
};
} // namespace ui
« no previous file with comments | « ui/wayland/wayland_input_device.cc ('k') | ui/wayland/wayland_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698