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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/display/chromeos/native_display_observer.h
diff --git a/chromeos/display/native_display_observer.h b/ui/display/chromeos/native_display_observer.h
similarity index 56%
rename from chromeos/display/native_display_observer.h
rename to ui/display/chromeos/native_display_observer.h
index de15060a9e52d530bfbe76efe2c7f5b901c991e1..ddc567d299ad650d9bf1872aac8cfdfbdf24a12c 100644
--- a/chromeos/display/native_display_observer.h
+++ b/ui/display/chromeos/native_display_observer.h
@@ -2,20 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_
-#define CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_
+#ifndef UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_
+#define UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_
-namespace chromeos {
+#include "ui/display/display_export.h"
+
+namespace ui {
// Observer class used by NativeDisplayDelegate to announce when the display
// configuration changes.
-class NativeDisplayObserver {
+class DISPLAY_EXPORT NativeDisplayObserver {
public:
virtual ~NativeDisplayObserver() {}
virtual void OnConfigurationChanged() = 0;
};
-} // namespace chromeos
+} // namespace ui
-#endif // CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_
+#endif // UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698