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

Side by Side Diff: services/ui/ws/event_dispatcher_delegate.h

Issue 2680883002: Fixes bugs in cursor handling (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « services/ui/ws/event_dispatcher.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_WS_EVENT_DISPATCHER_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_EVENT_DISPATCHER_DELEGATE_H_
6 #define SERVICES_UI_WS_EVENT_DISPATCHER_DELEGATE_H_ 6 #define SERVICES_UI_WS_EVENT_DISPATCHER_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "services/ui/common/types.h" 10 #include "services/ui/common/types.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Point; 13 class Point;
14 } 14 }
15 15
16 namespace ui { 16 namespace ui {
17
17 class Event; 18 class Event;
18 }
19 19
20 namespace ui {
21 namespace ws { 20 namespace ws {
22 21
23 class Accelerator; 22 class Accelerator;
24 class ServerWindow; 23 class ServerWindow;
25 24
26 // Used by EventDispatcher for mocking in tests. 25 // Used by EventDispatcher for mocking in tests.
27 class EventDispatcherDelegate { 26 class EventDispatcherDelegate {
28 public: 27 public:
29 enum class AcceleratorPhase { 28 enum class AcceleratorPhase {
30 PRE, 29 PRE,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual void OnEventTargetNotFound(const ui::Event& event) = 0; 79 virtual void OnEventTargetNotFound(const ui::Event& event) = 0;
81 80
82 protected: 81 protected:
83 virtual ~EventDispatcherDelegate() {} 82 virtual ~EventDispatcherDelegate() {}
84 }; 83 };
85 84
86 } // namespace ws 85 } // namespace ws
87 } // namespace ui 86 } // namespace ui
88 87
89 #endif // SERVICES_UI_WS_EVENT_DISPATCHER_DELEGATE_H_ 88 #endif // SERVICES_UI_WS_EVENT_DISPATCHER_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/event_dispatcher.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698