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

Side by Side Diff: ui/display/chromeos/native_display_observer.h

Issue 187073002: Refactoring display configuration state to allow generic state objects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ordering Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_
6 #define CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_ 6 #define UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_
7 7
8 namespace chromeos { 8 #include "ui/display/display_export.h"
9
10 namespace ui {
9 11
10 // Observer class used by NativeDisplayDelegate to announce when the display 12 // Observer class used by NativeDisplayDelegate to announce when the display
11 // configuration changes. 13 // configuration changes.
12 class NativeDisplayObserver { 14 class DISPLAY_EXPORT NativeDisplayObserver {
13 public: 15 public:
14 virtual ~NativeDisplayObserver() {} 16 virtual ~NativeDisplayObserver() {}
15 17
16 virtual void OnConfigurationChanged() = 0; 18 virtual void OnConfigurationChanged() = 0;
17 }; 19 };
18 20
19 } // namespace chromeos 21 } // namespace ui
20 22
21 #endif // CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_ 23 #endif // UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698