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 EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 class UserActivityDetector; | 40 class UserActivityDetector; |
41 #if defined(OS_CHROMEOS) | 41 #if defined(OS_CHROMEOS) |
42 class UserActivityPowerManagerNotifier; | 42 class UserActivityPowerManagerNotifier; |
43 #endif | 43 #endif |
44 } | 44 } |
45 | 45 |
46 namespace wm { | 46 namespace wm { |
47 class CompoundEventFilter; | 47 class CompoundEventFilter; |
48 class CursorManager; | 48 class CursorManager; |
49 class InputMethodEventFilter; | 49 class InputMethodEventFilter; |
| 50 class WindowActivationPreTargetHandler; |
50 } | 51 } |
51 | 52 |
52 namespace extensions { | 53 namespace extensions { |
53 class AppWindowClient; | 54 class AppWindowClient; |
54 class Extension; | 55 class Extension; |
55 class ShellScreen; | 56 class ShellScreen; |
56 | 57 |
57 // Handles desktop-related tasks for app_shell. | 58 // Handles desktop-related tasks for app_shell. |
58 class ShellDesktopControllerAura | 59 class ShellDesktopControllerAura |
59 : public DesktopController, | 60 : public DesktopController, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 scoped_ptr<ShellScreen> screen_; | 117 scoped_ptr<ShellScreen> screen_; |
117 | 118 |
118 scoped_ptr<aura::WindowTreeHost> host_; | 119 scoped_ptr<aura::WindowTreeHost> host_; |
119 | 120 |
120 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; | 121 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; |
121 | 122 |
122 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; | 123 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; |
123 | 124 |
124 scoped_ptr<wm::InputMethodEventFilter> input_method_filter_; | 125 scoped_ptr<wm::InputMethodEventFilter> input_method_filter_; |
125 | 126 |
| 127 scoped_ptr<wm::WindowActivationPreTargetHandler> |
| 128 window_activation_pretarget_handler_; |
| 129 |
126 scoped_ptr<aura::client::FocusClient> focus_client_; | 130 scoped_ptr<aura::client::FocusClient> focus_client_; |
127 | 131 |
128 scoped_ptr<wm::CursorManager> cursor_manager_; | 132 scoped_ptr<wm::CursorManager> cursor_manager_; |
129 | 133 |
130 scoped_ptr<ui::UserActivityDetector> user_activity_detector_; | 134 scoped_ptr<ui::UserActivityDetector> user_activity_detector_; |
131 #if defined(OS_CHROMEOS) | 135 #if defined(OS_CHROMEOS) |
132 scoped_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; | 136 scoped_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; |
133 #endif | 137 #endif |
134 | 138 |
135 scoped_ptr<AppWindowClient> app_window_client_; | 139 scoped_ptr<AppWindowClient> app_window_client_; |
136 | 140 |
137 // NativeAppWindow::Close() deletes the AppWindow. | 141 // NativeAppWindow::Close() deletes the AppWindow. |
138 std::vector<AppWindow*> app_windows_; | 142 std::vector<AppWindow*> app_windows_; |
139 | 143 |
140 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); | 144 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); |
141 }; | 145 }; |
142 | 146 |
143 } // namespace extensions | 147 } // namespace extensions |
144 | 148 |
145 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ | 149 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ |
OLD | NEW |