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

Side by Side Diff: ash/shell_observer.h

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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 | cc/test/fake_layer_tree_host_impl_client.h » ('j') | cc/trees/property_tree.h » ('J')
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void OnMaximizeModeStarted() {} 60 virtual void OnMaximizeModeStarted() {}
61 61
62 // Called when the always maximize mode has ended. Windows may still be 62 // Called when the always maximize mode has ended. Windows may still be
63 // animating but have been restored. 63 // animating but have been restored.
64 virtual void OnMaximizeModeEnded() {} 64 virtual void OnMaximizeModeEnded() {}
65 65
66 // Called at the end of Shell::Init. 66 // Called at the end of Shell::Init.
67 virtual void OnShellInitialized() {} 67 virtual void OnShellInitialized() {}
68 68
69 protected: 69 protected:
70 ShellObserver() = default;
70 virtual ~ShellObserver() {} 71 virtual ~ShellObserver() {}
71 }; 72 };
72 73
73 } // namespace ash 74 } // namespace ash
74 75
75 #endif // ASH_SHELL_OBSERVER_H_ 76 #endif // ASH_SHELL_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/fake_layer_tree_host_impl_client.h » ('j') | cc/trees/property_tree.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698