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

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

Issue 2704173002: Update the layout mode first when exiting tablet mode (Closed)
Patch Set: . Created 3 years, 10 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
« no previous file with comments | « no previous file | ash/common/wm/maximize_mode/maximize_mode_controller.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_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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // get re-arranged). 53 // get re-arranged).
54 virtual void OnOverviewModeStarting() {} 54 virtual void OnOverviewModeStarting() {}
55 55
56 // Called after overview mode has ended. 56 // Called after overview mode has ended.
57 virtual void OnOverviewModeEnded() {} 57 virtual void OnOverviewModeEnded() {}
58 58
59 // Called when the always maximize mode has started. Windows might still 59 // Called when the always maximize mode has started. Windows might still
60 // animate though. 60 // animate though.
61 virtual void OnMaximizeModeStarted() {} 61 virtual void OnMaximizeModeStarted() {}
62 62
63 // Called when the always maximize mode has ended. Windows may still be 63 // Called when the maximize mode is about to end.
64 virtual void OnMaximizeModeEnding() {}
Mr4D (OOO till 08-26) 2017/02/21 16:17:18 Sooner or later we should rename the "..MaximizeMo
65
66 // Called when the maximize mode has ended. Windows may still be
64 // animating but have been restored. 67 // animating but have been restored.
65 virtual void OnMaximizeModeEnded() {} 68 virtual void OnMaximizeModeEnded() {}
66 69
67 // Called when keyboard is activated/deactivated. 70 // Called when keyboard is activated/deactivated.
68 virtual void OnVirtualKeyboardStateChanged(bool activated) {} 71 virtual void OnVirtualKeyboardStateChanged(bool activated) {}
69 72
70 // Called at the end of Shell::Init. 73 // Called at the end of Shell::Init.
71 virtual void OnShellInitialized() {} 74 virtual void OnShellInitialized() {}
72 75
73 protected: 76 protected:
74 virtual ~ShellObserver() {} 77 virtual ~ShellObserver() {}
75 }; 78 };
76 79
77 } // namespace ash 80 } // namespace ash
78 81
79 #endif // ASH_COMMON_SHELL_OBSERVER_H_ 82 #endif // ASH_COMMON_SHELL_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/wm/maximize_mode/maximize_mode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698