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

Side by Side Diff: ash/system/screen_layout_observer.h

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 years, 9 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
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_SCREEN_LAYOUT_OBSERVER_H_ 5 #ifndef ASH_SYSTEM_SCREEN_LAYOUT_OBSERVER_H_
6 #define ASH_SYSTEM_SCREEN_LAYOUT_OBSERVER_H_ 6 #define ASH_SYSTEM_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/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 // ScreenLayoutObserver is responsible to send notification to users when screen 20 // ScreenLayoutObserver is responsible to send notification to users when screen
21 // resolution changes or screen rotation changes. 21 // resolution changes or screen rotation changes.
22 class ASH_EXPORT ScreenLayoutObserver : public WmDisplayObserver { 22 class ASH_EXPORT ScreenLayoutObserver : public WmDisplayObserver {
23 public: 23 public:
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 DisplayMode current_display_mode_ = DisplayMode::SINGLE; 78 DisplayMode current_display_mode_ = DisplayMode::SINGLE;
79 79
80 bool show_notifications_for_testing = true; 80 bool show_notifications_for_testing = true;
81 81
82 DISALLOW_COPY_AND_ASSIGN(ScreenLayoutObserver); 82 DISALLOW_COPY_AND_ASSIGN(ScreenLayoutObserver);
83 }; 83 };
84 84
85 } // namespace ash 85 } // namespace ash
86 86
87 #endif // ASH_SYSTEM_SCREEN_LAYOUT_OBSERVER_H_ 87 #endif // ASH_SYSTEM_SCREEN_LAYOUT_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/system/rotation/tray_rotation_lock_unittest.cc ('k') | ash/system/screen_layout_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698