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

Unified Diff: ash/display/resolution_notification_controller.h

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « ash/display/mirror_window_controller_unittest.cc ('k') | ash/display/resolution_notification_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/resolution_notification_controller.h
diff --git a/ash/display/resolution_notification_controller.h b/ash/display/resolution_notification_controller.h
index 405b9eb00fd243fa4005777fcdaf5c1d895b02ce..6ad59f9796b3286b523fc1820454e7629738c5c7 100644
--- a/ash/display/resolution_notification_controller.h
+++ b/ash/display/resolution_notification_controller.h
@@ -13,7 +13,7 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/timer/timer.h"
-#include "ui/gfx/display_observer.h"
+#include "ui/display/display_observer.h"
#include "ui/gfx/geometry/size.h"
namespace chromeos {
@@ -32,7 +32,7 @@ struct DisplayMode;
// A class which manages the notification of display resolution change and
// also manages the timeout in case the new resolution is unusable.
class ASH_EXPORT ResolutionNotificationController
- : public gfx::DisplayObserver,
+ : public display::DisplayObserver,
public WindowTreeHostManager::Observer {
public:
ResolutionNotificationController();
@@ -88,10 +88,10 @@ class ASH_EXPORT ResolutionNotificationController
// Called every second for timeout.
void OnTimerTick();
- // gfx::DisplayObserver overrides:
- void OnDisplayAdded(const gfx::Display& new_display) override;
- void OnDisplayRemoved(const gfx::Display& old_display) override;
- void OnDisplayMetricsChanged(const gfx::Display& display,
+ // display::DisplayObserver overrides:
+ void OnDisplayAdded(const display::Display& new_display) override;
+ void OnDisplayRemoved(const display::Display& old_display) override;
+ void OnDisplayMetricsChanged(const display::Display& display,
uint32_t metrics) override;
// WindowTreeHostManager::Observer overrides:
« no previous file with comments | « ash/display/mirror_window_controller_unittest.cc ('k') | ash/display/resolution_notification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698