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

Side by Side Diff: ui/wayland/wayland_widget.h

Issue 10009024: Remove WAYLAND port (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/wayland/wayland_shm_buffer.cc ('k') | ui/wayland/wayland_window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_WAYLAND_WAYLAND_WIDGET_H_
6 #define UI_WAYLAND_WAYLAND_WIDGET_H_
7
8 namespace base {
9 namespace wayland {
10 union WaylandEvent;
11 }
12 }
13
14 namespace ui {
15
16 // WaylandWidget is an interface for processing Wayland events.
17 class WaylandWidget {
18 public:
19 virtual ~WaylandWidget() {}
20
21 virtual void OnMotionNotify(base::wayland::WaylandEvent event) = 0;
22 virtual void OnButtonNotify(base::wayland::WaylandEvent event) = 0;
23 virtual void OnKeyNotify(base::wayland::WaylandEvent event) = 0;
24 virtual void OnPointerFocus(base::wayland::WaylandEvent event) = 0;
25 virtual void OnKeyboardFocus(base::wayland::WaylandEvent event) = 0;
26
27 virtual void OnGeometryChange(base::wayland::WaylandEvent event) = 0;
28 };
29
30 } // namespace ui
31
32 #endif // UI_WAYLAND_WAYLAND_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/wayland/wayland_shm_buffer.cc ('k') | ui/wayland/wayland_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698