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

Side by Side Diff: ash/shell_observer.h

Issue 230613004: Block keyboard and mouse input when maximize mode is activated by accelerometer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 6 years, 8 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/shell.cc ('k') | ash/wm/maximize_mode/maximize_mode_controller.h » ('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_OBSERVER_H_ 5 #ifndef ASH_SHELL_OBSERVER_H_
6 #define ASH_SHELL_OBSERVER_H_ 6 #define ASH_SHELL_OBSERVER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/user/login_status.h" 9 #include "ash/system/user/login_status.h"
10 10
(...skipping 11 matching lines...) Expand all
22 // Invoked when the user logs in. 22 // Invoked when the user logs in.
23 virtual void OnLoginStateChanged(user::LoginStatus status) {} 23 virtual void OnLoginStateChanged(user::LoginStatus status) {}
24 24
25 // Invoked when the application is exiting. 25 // Invoked when the application is exiting.
26 virtual void OnAppTerminating() {} 26 virtual void OnAppTerminating() {}
27 27
28 // Invoked when the screen is locked (after the lock window is visible) or 28 // Invoked when the screen is locked (after the lock window is visible) or
29 // unlocked. 29 // unlocked.
30 virtual void OnLockStateChanged(bool locked) {} 30 virtual void OnLockStateChanged(bool locked) {}
31 31
32 // Invoked after a non-primary root window is created.
33 virtual void OnRootWindowAdded(aura::Window* root_window) {}
34
32 // Invoked when the shelf alignment in |root_window| is changed. 35 // Invoked when the shelf alignment in |root_window| is changed.
33 virtual void OnShelfAlignmentChanged(aura::Window* root_window) {} 36 virtual void OnShelfAlignmentChanged(aura::Window* root_window) {}
34 37
35 // Invoked when the projection touch HUD is toggled. 38 // Invoked when the projection touch HUD is toggled.
36 virtual void OnTouchHudProjectionToggled(bool enabled) {} 39 virtual void OnTouchHudProjectionToggled(bool enabled) {}
37 40
38 // Invoked when entering or exiting fullscreen mode in |root_window|. 41 // Invoked when entering or exiting fullscreen mode in |root_window|.
39 virtual void OnFullscreenStateChanged(bool is_fullscreen, 42 virtual void OnFullscreenStateChanged(bool is_fullscreen,
40 aura::Window* root_window) {} 43 aura::Window* root_window) {}
41 44
(...skipping 13 matching lines...) Expand all
55 // animating but have been restored. 58 // animating but have been restored.
56 virtual void OnMaximizeModeEnded() {} 59 virtual void OnMaximizeModeEnded() {}
57 60
58 protected: 61 protected:
59 virtual ~ShellObserver() {} 62 virtual ~ShellObserver() {}
60 }; 63 };
61 64
62 } // namespace ash 65 } // namespace ash
63 66
64 #endif // ASH_SHELL_OBSERVER_H_ 67 #endif // ASH_SHELL_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/maximize_mode/maximize_mode_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698