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

Side by Side Diff: ash/system/chromeos/screen_layout_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
« no previous file with comments | « ash/system/chromeos/rotation/tray_rotation_lock.h ('k') | ash/test/ash_md_test_base.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_SYSTEM_CHROMEOS_SCREEN_LAYOUT_OBSERVER_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_SCREEN_LAYOUT_OBSERVER_H_
6 #define ASH_SYSTEM_CHROMEOS_SCREEN_LAYOUT_OBSERVER_H_ 6 #define ASH_SYSTEM_CHROMEOS_SCREEN_LAYOUT_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "ash/ash_export.h" 12 #include "ash/ash_export.h"
13 #include "ash/common/wm_display_observer.h" 13 #include "ash/common/wm_display_observer.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "ui/display/manager/managed_display_info.h" 16 #include "ui/display/manager/managed_display_info.h"
17 17
18 namespace ash { 18 namespace ash {
19 19
20 class DisplayView;
21
22 // ScreenLayoutObserver is responsible to send notification to users when screen 20 // ScreenLayoutObserver is responsible to send notification to users when screen
23 // resolution changes or screen rotation changes. 21 // resolution changes or screen rotation changes.
24 class ASH_EXPORT ScreenLayoutObserver : public WmDisplayObserver { 22 class ASH_EXPORT ScreenLayoutObserver : public WmDisplayObserver {
25 public: 23 public:
26 ScreenLayoutObserver(); 24 ScreenLayoutObserver();
27 ~ScreenLayoutObserver() override; 25 ~ScreenLayoutObserver() override;
28 26
29 // Overridden from WmDisplayObserver: 27 // Overridden from WmDisplayObserver:
30 void OnDisplayConfigurationChanged() override; 28 void OnDisplayConfigurationChanged() override;
31 29
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 DisplayInfoMap display_info_; 61 DisplayInfoMap display_info_;
64 62
65 bool show_notifications_for_testing = true; 63 bool show_notifications_for_testing = true;
66 64
67 DISALLOW_COPY_AND_ASSIGN(ScreenLayoutObserver); 65 DISALLOW_COPY_AND_ASSIGN(ScreenLayoutObserver);
68 }; 66 };
69 67
70 } // namespace ash 68 } // namespace ash
71 69
72 #endif // ASH_SYSTEM_CHROMEOS_SCREEN_LAYOUT_OBSERVER_H_ 70 #endif // ASH_SYSTEM_CHROMEOS_SCREEN_LAYOUT_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/rotation/tray_rotation_lock.h ('k') | ash/test/ash_md_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698