| OLD | NEW |
| 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 MOJO_SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_ |
| 6 #define MOJO_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 mojo { |
| 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(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 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 mojo |
| 43 | 43 |
| 44 #endif // MOJO_SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_ | 44 #endif // SERVICES_WINDOW_MANAGER_VIEW_TARGETER_H_ |
| OLD | NEW |