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

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

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WM_DISPLAY_OBSERVER_H_ 5 #ifndef ASH_COMMON_WM_DISPLAY_OBSERVER_H_
6 #define ASH_COMMON_WM_DISPLAY_OBSERVER_H_ 6 #define ASH_COMMON_WM_DISPLAY_OBSERVER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 class WmWindow;
13
14 // Used to track changes in display configuration. 12 // Used to track changes in display configuration.
15 class ASH_EXPORT WmDisplayObserver { 13 class ASH_EXPORT WmDisplayObserver {
16 public: 14 public:
17 // Called prior to the display configuration changing. 15 // Called prior to the display configuration changing.
18 virtual void OnDisplayConfigurationChanging() {} 16 virtual void OnDisplayConfigurationChanging() {}
19 17
20 // Called after the display configure changed. 18 // Called after the display configure changed.
21 virtual void OnDisplayConfigurationChanged() {} 19 virtual void OnDisplayConfigurationChanged() {}
22 20
23 protected: 21 protected:
24 virtual ~WmDisplayObserver() {} 22 virtual ~WmDisplayObserver() {}
25 }; 23 };
26 24
27 } // namespace ash 25 } // namespace ash
28 26
29 #endif // ASH_COMMON_WM_DISPLAY_OBSERVER_H_ 27 #endif // ASH_COMMON_WM_DISPLAY_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/common/wm/wm_toplevel_window_event_handler.h ('k') | ash/display/display_animator_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698