OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 class VideoDetector; | 65 class VideoDetector; |
66 class WindowCycleController; | 66 class WindowCycleController; |
67 | 67 |
68 namespace internal { | 68 namespace internal { |
69 class AcceleratorFilter; | 69 class AcceleratorFilter; |
70 class ActivationController; | 70 class ActivationController; |
71 class AppListController; | 71 class AppListController; |
72 class DragDropController; | 72 class DragDropController; |
73 class EventClientImpl; | 73 class EventClientImpl; |
74 class FocusCycler; | 74 class FocusCycler; |
| 75 class HighContrastController; |
75 class KeyRewriterEventFilter; | 76 class KeyRewriterEventFilter; |
76 class MagnificationController; | 77 class MagnificationController; |
77 class MonitorController; | 78 class MonitorController; |
78 class PanelLayoutManager; | 79 class PanelLayoutManager; |
79 class PartialScreenshotEventFilter; | 80 class PartialScreenshotEventFilter; |
80 class ResizeShadowController; | 81 class ResizeShadowController; |
81 class RootWindowLayoutManager; | 82 class RootWindowLayoutManager; |
82 class ScreenDimmer; | 83 class ScreenDimmer; |
83 class ShadowController; | 84 class ShadowController; |
84 class ShelfLayoutManager; | 85 class ShelfLayoutManager; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 internal::FocusCycler* focus_cycler() { | 230 internal::FocusCycler* focus_cycler() { |
230 return focus_cycler_.get(); | 231 return focus_cycler_.get(); |
231 } | 232 } |
232 | 233 |
233 ShellDelegate* delegate() { return delegate_.get(); } | 234 ShellDelegate* delegate() { return delegate_.get(); } |
234 SystemTrayDelegate* tray_delegate() { return tray_delegate_.get(); } | 235 SystemTrayDelegate* tray_delegate() { return tray_delegate_.get(); } |
235 UserWallpaperDelegate* user_wallpaper_delegate() { | 236 UserWallpaperDelegate* user_wallpaper_delegate() { |
236 return user_wallpaper_delegate_.get(); | 237 return user_wallpaper_delegate_.get(); |
237 } | 238 } |
238 | 239 |
| 240 internal::HighContrastController* high_contrast_controller() { |
| 241 return high_contrast_controller_.get(); |
| 242 } |
| 243 |
239 internal::MagnificationController* magnification_controller() { | 244 internal::MagnificationController* magnification_controller() { |
240 return magnification_controller_.get(); | 245 return magnification_controller_.get(); |
241 } | 246 } |
| 247 |
242 internal::ScreenDimmer* screen_dimmer() { | 248 internal::ScreenDimmer* screen_dimmer() { |
243 return screen_dimmer_.get(); | 249 return screen_dimmer_.get(); |
244 } | 250 } |
245 | 251 |
246 Launcher* launcher() { return launcher_.get(); } | 252 Launcher* launcher() { return launcher_.get(); } |
247 | 253 |
248 const ScreenAsh* screen() { return screen_; } | 254 const ScreenAsh* screen() { return screen_; } |
249 | 255 |
250 // Force the shelf to query for it's current visibility state. | 256 // Force the shelf to query for it's current visibility state. |
251 void UpdateShelfVisibility(); | 257 void UpdateShelfVisibility(); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 scoped_ptr<internal::ShadowController> shadow_controller_; | 346 scoped_ptr<internal::ShadowController> shadow_controller_; |
341 scoped_ptr<internal::TooltipController> tooltip_controller_; | 347 scoped_ptr<internal::TooltipController> tooltip_controller_; |
342 scoped_ptr<internal::VisibilityController> visibility_controller_; | 348 scoped_ptr<internal::VisibilityController> visibility_controller_; |
343 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; | 349 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; |
344 scoped_ptr<PowerButtonController> power_button_controller_; | 350 scoped_ptr<PowerButtonController> power_button_controller_; |
345 scoped_ptr<VideoDetector> video_detector_; | 351 scoped_ptr<VideoDetector> video_detector_; |
346 scoped_ptr<WindowCycleController> window_cycle_controller_; | 352 scoped_ptr<WindowCycleController> window_cycle_controller_; |
347 scoped_ptr<internal::FocusCycler> focus_cycler_; | 353 scoped_ptr<internal::FocusCycler> focus_cycler_; |
348 scoped_ptr<internal::EventClientImpl> event_client_; | 354 scoped_ptr<internal::EventClientImpl> event_client_; |
349 scoped_ptr<internal::MonitorController> monitor_controller_; | 355 scoped_ptr<internal::MonitorController> monitor_controller_; |
| 356 scoped_ptr<internal::HighContrastController> high_contrast_controller_; |
350 scoped_ptr<internal::MagnificationController> magnification_controller_; | 357 scoped_ptr<internal::MagnificationController> magnification_controller_; |
351 scoped_ptr<internal::ScreenDimmer> screen_dimmer_; | 358 scoped_ptr<internal::ScreenDimmer> screen_dimmer_; |
352 | 359 |
353 // An event filter that rewrites or drops a key event. | 360 // An event filter that rewrites or drops a key event. |
354 scoped_ptr<internal::KeyRewriterEventFilter> key_rewriter_filter_; | 361 scoped_ptr<internal::KeyRewriterEventFilter> key_rewriter_filter_; |
355 | 362 |
356 // An event filter that pre-handles key events while the partial | 363 // An event filter that pre-handles key events while the partial |
357 // screenshot UI is active. | 364 // screenshot UI is active. |
358 scoped_ptr<internal::PartialScreenshotEventFilter> partial_screenshot_filter_; | 365 scoped_ptr<internal::PartialScreenshotEventFilter> partial_screenshot_filter_; |
359 | 366 |
(...skipping 26 matching lines...) Expand all Loading... |
386 | 393 |
387 // Used by ash/shell. | 394 // Used by ash/shell. |
388 content::BrowserContext* browser_context_; | 395 content::BrowserContext* browser_context_; |
389 | 396 |
390 DISALLOW_COPY_AND_ASSIGN(Shell); | 397 DISALLOW_COPY_AND_ASSIGN(Shell); |
391 }; | 398 }; |
392 | 399 |
393 } // namespace ash | 400 } // namespace ash |
394 | 401 |
395 #endif // ASH_SHELL_H_ | 402 #endif // ASH_SHELL_H_ |
OLD | NEW |