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

Side by Side Diff: components/mus/vm/event_dispatcher.cc

Issue 1377493002: mus: move View Manager to components/mus/vm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 2 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 | « components/mus/vm/event_dispatcher.h ('k') | components/mus/vm/focus_controller.h » ('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 #include "components/mus/event_dispatcher.h" 5 #include "components/mus/vm/event_dispatcher.h"
6 6
7 #include "cc/surfaces/surface_id.h" 7 #include "cc/surfaces/surface_id.h"
8 #include "components/mus/connection_manager.h"
9 #include "components/mus/server_view.h"
10 #include "components/mus/server_view_delegate.h"
11 #include "components/mus/surfaces/surfaces_state.h" 8 #include "components/mus/surfaces/surfaces_state.h"
12 #include "components/mus/view_coordinate_conversions.h" 9 #include "components/mus/vm/connection_manager.h"
13 #include "components/mus/view_tree_host_impl.h" 10 #include "components/mus/vm/server_view.h"
11 #include "components/mus/vm/server_view_delegate.h"
12 #include "components/mus/vm/view_coordinate_conversions.h"
13 #include "components/mus/vm/view_tree_host_impl.h"
14 #include "ui/gfx/geometry/point.h" 14 #include "ui/gfx/geometry/point.h"
15 #include "ui/gfx/geometry/point_f.h" 15 #include "ui/gfx/geometry/point_f.h"
16 16
17 namespace mus { 17 namespace mus {
18 18
19 EventDispatcher::EventDispatcher(ViewTreeHostImpl* view_tree_host) 19 EventDispatcher::EventDispatcher(ViewTreeHostImpl* view_tree_host)
20 : view_tree_host_(view_tree_host) {} 20 : view_tree_host_(view_tree_host) {}
21 21
22 EventDispatcher::~EventDispatcher() {} 22 EventDispatcher::~EventDispatcher() {}
23 23
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // information to decide where to route input events. This should be fixed 146 // information to decide where to route input events. This should be fixed
147 // once we implement a UI scheduler. 147 // once we implement a UI scheduler.
148 if (target) { 148 if (target) {
149 transform_to_target_surface.TransformPoint(location); 149 transform_to_target_surface.TransformPoint(location);
150 return target; 150 return target;
151 } 151 }
152 return nullptr; 152 return nullptr;
153 } 153 }
154 154
155 } // namespace mus 155 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/vm/event_dispatcher.h ('k') | components/mus/vm/focus_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698