Index: ui/display/display_change_notifier.h |
diff --git a/ui/gfx/display_change_notifier.h b/ui/display/display_change_notifier.h |
similarity index 75% |
rename from ui/gfx/display_change_notifier.h |
rename to ui/display/display_change_notifier.h |
index 458dd6ac66c435fc44e477ec2066636f08ceae2f..744bd8f40e616edb47f105d0fa02c8fac5f48cb3 100644 |
--- a/ui/gfx/display_change_notifier.h |
+++ b/ui/display/display_change_notifier.h |
@@ -2,23 +2,26 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ |
-#define UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ |
+#ifndef UI_DISPLAY_DISPLAY_CHANGE_NOTIFIER_H_ |
+#define UI_DISPLAY_DISPLAY_CHANGE_NOTIFIER_H_ |
#include <vector> |
#include "base/macros.h" |
#include "base/observer_list.h" |
-#include "ui/gfx/gfx_export.h" |
+#include "ui/display/display_export.h" |
namespace gfx { |
- |
class Display; |
+} |
+ |
+namespace display { |
+using Display = gfx::Display; |
class DisplayObserver; |
// DisplayChangeNotifier is a class implementing the handling of DisplayObserver |
// notification for Screen. |
-class GFX_EXPORT DisplayChangeNotifier { |
+class DISPLAY_EXPORT DisplayChangeNotifier { |
public: |
DisplayChangeNotifier(); |
~DisplayChangeNotifier(); |
@@ -38,7 +41,6 @@ class GFX_EXPORT DisplayChangeNotifier { |
DISALLOW_COPY_AND_ASSIGN(DisplayChangeNotifier); |
}; |
-} // namespace gfx |
- |
-#endif // UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ |
+} // namespace display |
+#endif // UI_DISPLAY_DISPLAY_CHANGE_NOTIFIER_H_ |