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

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

Issue 788453002: Put code in //services/window_manager in namespace window_manager (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 #ifndef SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_ 5 #ifndef SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_
6 #define SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_ 6 #define SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_
7 7
8 #include "ui/events/event_targeter.h" 8 #include "ui/events/event_targeter.h"
9 9
10 namespace mojo { 10 namespace window_manager {
11 11
12 class ViewTarget; 12 class ViewTarget;
13 13
14 class ViewTargeter : public ui::EventTargeter { 14 class ViewTargeter : public ui::EventTargeter {
15 public: 15 public:
16 ViewTargeter(); 16 ViewTargeter();
17 ~ViewTargeter() override; 17 ~ViewTargeter() override;
18 18
19 protected: 19 protected:
20 // ui::EventTargeter: 20 // ui::EventTargeter:
(...skipping 11 matching lines...) Expand all
32 ViewTarget* FindTargetForKeyEvent(ViewTarget* view, const ui::KeyEvent& key); 32 ViewTarget* FindTargetForKeyEvent(ViewTarget* view, const ui::KeyEvent& key);
33 33
34 // Deals with cases where the |root_view| needs to change how things are 34 // Deals with cases where the |root_view| needs to change how things are
35 // dispatched. (For example, in the case of capture.) 35 // dispatched. (For example, in the case of capture.)
36 ViewTarget* FindTargetInRootView(ViewTarget* root_view, 36 ViewTarget* FindTargetInRootView(ViewTarget* root_view,
37 const ui::LocatedEvent& event); 37 const ui::LocatedEvent& event);
38 38
39 DISALLOW_COPY_AND_ASSIGN(ViewTargeter); 39 DISALLOW_COPY_AND_ASSIGN(ViewTargeter);
40 }; 40 };
41 41
42 } // namespace mojo 42 } // namespace window_manager
43 43
44 #endif // SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_ 44 #endif // SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_
OLDNEW
« no previous file with comments | « services/window_manager/view_target_unittest.cc ('k') | services/window_manager/view_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698