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

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

Issue 7457023: Adding a Wayland basic toolkit (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Naming for inlined functions Created 9 years, 4 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
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 #include "ui/wayland/events/wayland_event.h"
9
10 namespace ui {
11
12 // WaylandWidget is an interface for processing Wayland events.
13 class WaylandWidget {
tfarina 2011/07/26 14:49:28 I don't know, would be a better name WaylandObserv
14 public:
15 virtual ~WaylandWidget() {}
16
17 virtual void OnMotionNotify(WaylandEvent event) = 0;
18 virtual void OnButtonNotify(WaylandEvent event) = 0;
19 virtual void OnKeyNotify(WaylandEvent event) = 0;
20 virtual void OnPointerFocus(WaylandEvent event) = 0;
21 virtual void OnKeyboardFocus(WaylandEvent event) = 0;
22
23 virtual void OnGeometryChange(WaylandEvent event) = 0;
24 };
25
26 } // namespace ui
27
28 #endif // UI_WAYLAND_WAYLAND_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698