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

Side by Side Diff: components/view_manager/event_dispatcher.h

Issue 1131523007: Move NativeViewport service into view_manager. This is a file move only. Further merging will happe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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
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 COMPONENTS_VIEW_MANAGER_EVENT_DISPATCHER_H_ 5 #ifndef COMPONENTS_VIEW_MANAGER_EVENT_DISPATCHER_H_
6 #define COMPONENTS_VIEW_MANAGER_EVENT_DISPATCHER_H_ 6 #define COMPONENTS_VIEW_MANAGER_EVENT_DISPATCHER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "components/native_viewport/public/interfaces/native_viewport.mojom.h" 11 #include "components/view_manager/public/interfaces/native_viewport.mojom.h"
12 12
13 namespace view_manager { 13 namespace view_manager {
14 14
15 class ConnectionManager; 15 class ConnectionManager;
16 16
17 // Handles dispatching events to the right location as well as updating focus. 17 // Handles dispatching events to the right location as well as updating focus.
18 class EventDispatcher : public mojo::NativeViewportEventDispatcher { 18 class EventDispatcher : public mojo::NativeViewportEventDispatcher {
19 public: 19 public:
20 explicit EventDispatcher(ConnectionManager* connection_manager); 20 explicit EventDispatcher(ConnectionManager* connection_manager);
21 ~EventDispatcher() override; 21 ~EventDispatcher() override;
(...skipping 24 matching lines...) Expand all
46 ConnectionManager* connection_manager_; 46 ConnectionManager* connection_manager_;
47 47
48 std::set<Accelerator> accelerators_; 48 std::set<Accelerator> accelerators_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); 50 DISALLOW_COPY_AND_ASSIGN(EventDispatcher);
51 }; 51 };
52 52
53 } // namespace view_manager 53 } // namespace view_manager
54 54
55 #endif // COMPONENTS_VIEW_MANAGER_EVENT_DISPATCHER_H_ 55 #endif // COMPONENTS_VIEW_MANAGER_EVENT_DISPATCHER_H_
OLDNEW
« no previous file with comments | « components/view_manager/display_manager.h ('k') | components/view_manager/native_viewport/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698