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

Side by Side Diff: ash/shell.h

Issue 10544011: chromeos: Notify power manager about user activity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RootWindowEventFilter -> EnvEventFilter Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 class DesktopBackgroundController; 63 class DesktopBackgroundController;
64 class HighContrastController; 64 class HighContrastController;
65 class Launcher; 65 class Launcher;
66 class NestedDispatcherController; 66 class NestedDispatcherController;
67 class PowerButtonController; 67 class PowerButtonController;
68 class ScreenAsh; 68 class ScreenAsh;
69 class ShellDelegate; 69 class ShellDelegate;
70 class ShellObserver; 70 class ShellObserver;
71 class SystemTrayDelegate; 71 class SystemTrayDelegate;
72 class SystemTray; 72 class SystemTray;
73 class UserActivityDetector;
73 class UserWallpaperDelegate; 74 class UserWallpaperDelegate;
74 class VideoDetector; 75 class VideoDetector;
75 class WindowCycleController; 76 class WindowCycleController;
76 77
77 namespace internal { 78 namespace internal {
78 class AcceleratorFilter; 79 class AcceleratorFilter;
79 class ActivationController; 80 class ActivationController;
80 class AppListController; 81 class AppListController;
81 class DragDropController; 82 class DragDropController;
82 class EventClientImpl; 83 class EventClientImpl;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 } 242 }
242 internal::PartialScreenshotEventFilter* partial_screenshot_filter() { 243 internal::PartialScreenshotEventFilter* partial_screenshot_filter() {
243 return partial_screenshot_filter_.get(); 244 return partial_screenshot_filter_.get();
244 } 245 }
245 DesktopBackgroundController* desktop_background_controller() { 246 DesktopBackgroundController* desktop_background_controller() {
246 return desktop_background_controller_.get(); 247 return desktop_background_controller_.get();
247 } 248 }
248 PowerButtonController* power_button_controller() { 249 PowerButtonController* power_button_controller() {
249 return power_button_controller_.get(); 250 return power_button_controller_.get();
250 } 251 }
252 UserActivityDetector* user_activity_detector() {
253 return user_activity_detector_.get();
254 }
251 VideoDetector* video_detector() { 255 VideoDetector* video_detector() {
252 return video_detector_.get(); 256 return video_detector_.get();
253 } 257 }
254 WindowCycleController* window_cycle_controller() { 258 WindowCycleController* window_cycle_controller() {
255 return window_cycle_controller_.get(); 259 return window_cycle_controller_.get();
256 } 260 }
257 internal::FocusCycler* focus_cycler() { 261 internal::FocusCycler* focus_cycler() {
258 return focus_cycler_.get(); 262 return focus_cycler_.get();
259 } 263 }
260 264
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 scoped_ptr<internal::ActivationController> activation_controller_; 393 scoped_ptr<internal::ActivationController> activation_controller_;
390 scoped_ptr<internal::WindowModalityController> window_modality_controller_; 394 scoped_ptr<internal::WindowModalityController> window_modality_controller_;
391 scoped_ptr<internal::DragDropController> drag_drop_controller_; 395 scoped_ptr<internal::DragDropController> drag_drop_controller_;
392 scoped_ptr<internal::WorkspaceController> workspace_controller_; 396 scoped_ptr<internal::WorkspaceController> workspace_controller_;
393 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; 397 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_;
394 scoped_ptr<internal::ShadowController> shadow_controller_; 398 scoped_ptr<internal::ShadowController> shadow_controller_;
395 scoped_ptr<internal::TooltipController> tooltip_controller_; 399 scoped_ptr<internal::TooltipController> tooltip_controller_;
396 scoped_ptr<internal::VisibilityController> visibility_controller_; 400 scoped_ptr<internal::VisibilityController> visibility_controller_;
397 scoped_ptr<DesktopBackgroundController> desktop_background_controller_; 401 scoped_ptr<DesktopBackgroundController> desktop_background_controller_;
398 scoped_ptr<PowerButtonController> power_button_controller_; 402 scoped_ptr<PowerButtonController> power_button_controller_;
403 scoped_ptr<UserActivityDetector> user_activity_detector_;
399 scoped_ptr<VideoDetector> video_detector_; 404 scoped_ptr<VideoDetector> video_detector_;
400 scoped_ptr<WindowCycleController> window_cycle_controller_; 405 scoped_ptr<WindowCycleController> window_cycle_controller_;
401 scoped_ptr<internal::FocusCycler> focus_cycler_; 406 scoped_ptr<internal::FocusCycler> focus_cycler_;
402 scoped_ptr<internal::EventClientImpl> event_client_; 407 scoped_ptr<internal::EventClientImpl> event_client_;
403 scoped_ptr<internal::MonitorController> monitor_controller_; 408 scoped_ptr<internal::MonitorController> monitor_controller_;
404 scoped_ptr<HighContrastController> high_contrast_controller_; 409 scoped_ptr<HighContrastController> high_contrast_controller_;
405 scoped_ptr<internal::MagnificationController> magnification_controller_; 410 scoped_ptr<internal::MagnificationController> magnification_controller_;
406 scoped_ptr<internal::ScreenDimmer> screen_dimmer_; 411 scoped_ptr<internal::ScreenDimmer> screen_dimmer_;
407 scoped_ptr<aura::FocusManager> focus_manager_; 412 scoped_ptr<aura::FocusManager> focus_manager_;
408 scoped_ptr<aura::client::UserActionClient> user_action_client_; 413 scoped_ptr<aura::client::UserActionClient> user_action_client_;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 464
460 // Used by ash/shell. 465 // Used by ash/shell.
461 content::BrowserContext* browser_context_; 466 content::BrowserContext* browser_context_;
462 467
463 DISALLOW_COPY_AND_ASSIGN(Shell); 468 DISALLOW_COPY_AND_ASSIGN(Shell);
464 }; 469 };
465 470
466 } // namespace ash 471 } // namespace ash
467 472
468 #endif // ASH_SHELL_H_ 473 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698