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_SERIVCES_WINDOW_MANAGER_FOCUS_CONTROLLER_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_FOCUS_CONTROLLER_H_ |
6 #define MOJO_SERIVCES_WINDOW_MANAGER_FOCUS_CONTROLLER_H_ | 6 #define SERVICES_WINDOW_MANAGER_FOCUS_CONTROLLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "base/scoped_observer.h" | 11 #include "base/scoped_observer.h" |
12 #include "mojo/services/public/cpp/view_manager/view_observer.h" | 12 #include "mojo/services/public/cpp/view_manager/view_observer.h" |
13 #include "ui/events/event_handler.h" | 13 #include "ui/events/event_handler.h" |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
16 | 16 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(FocusController); | 95 DISALLOW_COPY_AND_ASSIGN(FocusController); |
96 }; | 96 }; |
97 | 97 |
98 // Sets/Gets the focus controller for a root view. | 98 // Sets/Gets the focus controller for a root view. |
99 void SetFocusController(View* view, FocusController* focus_controller); | 99 void SetFocusController(View* view, FocusController* focus_controller); |
100 FocusController* GetFocusController(View* view); | 100 FocusController* GetFocusController(View* view); |
101 | 101 |
102 } // namespace mojo | 102 } // namespace mojo |
103 | 103 |
104 #endif // MOJO_SERIVCES_WINDOW_MANAGER_FOCUS_CONTROLLER_H_ | 104 #endif // SERVICES_WINDOW_MANAGER_FOCUS_CONTROLLER_H_ |
OLD | NEW |