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

Side by Side Diff: ash/shell.h

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fixes Created 8 years, 7 months 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 (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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 namespace views { 47 namespace views {
48 class NonClientFrameView; 48 class NonClientFrameView;
49 class Widget; 49 class Widget;
50 } 50 }
51 51
52 namespace ash { 52 namespace ash {
53 53
54 class AcceleratorController; 54 class AcceleratorController;
55 class DesktopBackgroundController; 55 class DesktopBackgroundController;
56 class HighContrastController;
56 class Launcher; 57 class Launcher;
57 class NestedDispatcherController; 58 class NestedDispatcherController;
58 class PowerButtonController; 59 class PowerButtonController;
59 class ScreenAsh; 60 class ScreenAsh;
60 class ShellDelegate; 61 class ShellDelegate;
61 class ShellObserver; 62 class ShellObserver;
62 class SystemTrayDelegate; 63 class SystemTrayDelegate;
63 class SystemTray; 64 class SystemTray;
64 class UserWallpaperDelegate; 65 class UserWallpaperDelegate;
65 class VideoDetector; 66 class VideoDetector;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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
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<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
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_
OLDNEW
« no previous file with comments | « ash/high_contrast/high_contrast_controller.cc ('k') | ash/shell.cc » ('j') | ash/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698