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

Side by Side Diff: ash/common/shell_observer.h

Issue 2747543002: ash: Start/stop observing KeyboardController via ShellObserver (Closed)
Patch Set: update LockLayoutManager to use similar logic Created 3 years, 9 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_COMMON_SHELL_OBSERVER_H_ 5 #ifndef ASH_COMMON_SHELL_OBSERVER_H_
6 #define ASH_COMMON_SHELL_OBSERVER_H_ 6 #define ASH_COMMON_SHELL_OBSERVER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/login_status.h" 9 #include "ash/common/login_status.h"
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // animate though. 60 // animate though.
61 virtual void OnMaximizeModeStarted() {} 61 virtual void OnMaximizeModeStarted() {}
62 62
63 // Called when the maximize mode is about to end. 63 // Called when the maximize mode is about to end.
64 virtual void OnMaximizeModeEnding() {} 64 virtual void OnMaximizeModeEnding() {}
65 65
66 // Called when the maximize mode has ended. Windows may still be 66 // Called when the maximize mode has ended. Windows may still be
67 // animating but have been restored. 67 // animating but have been restored.
68 virtual void OnMaximizeModeEnded() {} 68 virtual void OnMaximizeModeEnded() {}
69 69
70 // Called when keyboard is activated/deactivated. 70 // Called when keyboard is activated/deactivated in |root_window|.
71 virtual void OnVirtualKeyboardStateChanged(bool activated) {} 71 virtual void OnVirtualKeyboardStateChanged(bool activated,
72 WmWindow* root_window) {}
72 73
73 // Called at the end of Shell::Init. 74 // Called at the end of Shell::Init.
74 virtual void OnShellInitialized() {} 75 virtual void OnShellInitialized() {}
75 76
76 protected: 77 protected:
77 virtual ~ShellObserver() {} 78 virtual ~ShellObserver() {}
78 }; 79 };
79 80
80 } // namespace ash 81 } // namespace ash
81 82
82 #endif // ASH_COMMON_SHELL_OBSERVER_H_ 83 #endif // ASH_COMMON_SHELL_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_layout_manager.cc ('k') | ash/common/wm/dock/docked_window_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698