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

Side by Side Diff: ash/shell_observer.h

Issue 2918403006: CrOS Tablet Window management - Split Screen part I (Closed)
Patch Set: Add unittests. Will split the CL into two CLs. Created 3 years, 5 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 | « ash/shell.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.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/login_status.h" 9 #include "ash/login_status.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Invoked when |pinned_window| enter or exit pinned mode. 45 // Invoked when |pinned_window| enter or exit pinned mode.
46 virtual void OnPinnedStateChanged(aura::Window* pinned_window) {} 46 virtual void OnPinnedStateChanged(aura::Window* pinned_window) {}
47 47
48 // Called when the overview mode is about to be started (before the windows 48 // Called when the overview mode is about to be started (before the windows
49 // get re-arranged). 49 // get re-arranged).
50 virtual void OnOverviewModeStarting() {} 50 virtual void OnOverviewModeStarting() {}
51 51
52 // Called after overview mode has ended. 52 // Called after overview mode has ended.
53 virtual void OnOverviewModeEnded() {} 53 virtual void OnOverviewModeEnded() {}
54 54
55 // Called when the split view mode is about to be started (before the window
56 // gets snapped and activated).
57 virtual void OnSplitViewModeStarting() {}
58
59 // Called after split view mode has ended.
60 virtual void OnSplitViewModeEnded() {}
61
55 // Called when the always maximize mode has started. Windows might still 62 // Called when the always maximize mode has started. Windows might still
56 // animate though. 63 // animate though.
57 virtual void OnMaximizeModeStarted() {} 64 virtual void OnMaximizeModeStarted() {}
58 65
59 // Called when the maximize mode is about to end. 66 // Called when the maximize mode is about to end.
60 virtual void OnMaximizeModeEnding() {} 67 virtual void OnMaximizeModeEnding() {}
61 68
62 // Called when the maximize mode has ended. Windows may still be 69 // Called when the maximize mode has ended. Windows may still be
63 // animating but have been restored. 70 // animating but have been restored.
64 virtual void OnMaximizeModeEnded() {} 71 virtual void OnMaximizeModeEnded() {}
(...skipping 12 matching lines...) Expand all
77 // most of Shell's state has been deleted. 84 // most of Shell's state has been deleted.
78 virtual void OnShellDestroyed() {} 85 virtual void OnShellDestroyed() {}
79 86
80 protected: 87 protected:
81 virtual ~ShellObserver() {} 88 virtual ~ShellObserver() {}
82 }; 89 };
83 90
84 } // namespace ash 91 } // namespace ash
85 92
86 #endif // ASH_SHELL_OBSERVER_H_ 93 #endif // ASH_SHELL_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698