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

Side by Side Diff: services/window_manager/view_targeter.cc

Issue 765753003: Move window_manager service implementation to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/services/window_manager/view_targeter.h" 5 #include "services/window_manager/view_targeter.h"
6 6
7 #include "mojo/services/window_manager/focus_controller.h" 7 #include "services/window_manager/focus_controller.h"
8 #include "mojo/services/window_manager/view_target.h" 8 #include "services/window_manager/view_target.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 11
12 ViewTargeter::ViewTargeter() {} 12 ViewTargeter::ViewTargeter() {}
13 13
14 ViewTargeter::~ViewTargeter() {} 14 ViewTargeter::~ViewTargeter() {}
15 15
16 ui::EventTarget* ViewTargeter::FindTargetForEvent(ui::EventTarget* root, 16 ui::EventTarget* ViewTargeter::FindTargetForEvent(ui::EventTarget* root,
17 ui::Event* event) { 17 ui::Event* event) {
18 ViewTarget* view = static_cast<ViewTarget*>(root); 18 ViewTarget* view = static_cast<ViewTarget*>(root);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // TODO(erg): We redirect to a currently active capture window here. Add this 88 // TODO(erg): We redirect to a currently active capture window here. Add this
89 // when we have capture working. 89 // when we have capture working.
90 90
91 // TODO(erg): There's a whole bunch of junk about handling touch events 91 // TODO(erg): There's a whole bunch of junk about handling touch events
92 // here. Handle later. 92 // here. Handle later.
93 93
94 return nullptr; 94 return nullptr;
95 } 95 }
96 96
97 } // namespace mojo 97 } // namespace mojo
OLDNEW
« no previous file with comments | « services/window_manager/view_targeter.h ('k') | services/window_manager/view_targeter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698