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

Unified Diff: ash/touch/touch_observer_hud.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/touch/touch_hud_debug.cc ('k') | ash/touch/touch_observer_hud.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_observer_hud.h
diff --git a/ash/touch/touch_observer_hud.h b/ash/touch/touch_observer_hud.h
index 4168f370585c8c67352a01e0fcf35ef2c2be1aa9..4b1fc795322d435e08d0228e83fb6faf59dc3028 100644
--- a/ash/touch/touch_observer_hud.h
+++ b/ash/touch/touch_observer_hud.h
@@ -10,8 +10,8 @@
#include "ash/ash_export.h"
#include "ash/display/window_tree_host_manager.h"
#include "base/macros.h"
+#include "ui/display/display_observer.h"
#include "ui/events/event_handler.h"
-#include "ui/gfx/display_observer.h"
#include "ui/views/widget/widget_observer.h"
#if defined(OS_CHROMEOS)
@@ -28,7 +28,7 @@ namespace ash {
// class manage their own lifetime.
class ASH_EXPORT TouchObserverHUD : public ui::EventHandler,
public views::WidgetObserver,
- public gfx::DisplayObserver,
+ public display::DisplayObserver,
#if defined(OS_CHROMEOS)
public ui::DisplayConfigurator::Observer,
#endif // defined(OS_CHROMEOS)
@@ -61,10 +61,10 @@ class ASH_EXPORT TouchObserverHUD : public ui::EventHandler,
// Overridden from views::WidgetObserver.
void OnWidgetDestroying(views::Widget* widget) override;
- // Overridden from gfx::DisplayObserver.
- void OnDisplayAdded(const gfx::Display& new_display) override;
- void OnDisplayRemoved(const gfx::Display& old_display) override;
- void OnDisplayMetricsChanged(const gfx::Display& display,
+ // Overridden from display::DisplayObserver.
+ 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;
#if defined(OS_CHROMEOS)
« no previous file with comments | « ash/touch/touch_hud_debug.cc ('k') | ash/touch/touch_observer_hud.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698