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

Unified Diff: ash/wm/overview/window_overview.h

Issue 259253002: Add OnDisplayMetricsChanged in DisplayObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_orientation
Patch Set: Created 6 years, 7 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: ash/wm/overview/window_overview.h
diff --git a/ash/wm/overview/window_overview.h b/ash/wm/overview/window_overview.h
index 502e3d921e886dbc3e453750ac7948f3a5966cac..0c4cabb926ace371f88122718a7375c7e860c3d0 100644
--- a/ash/wm/overview/window_overview.h
+++ b/ash/wm/overview/window_overview.h
@@ -67,9 +67,10 @@ class WindowOverview : public ui::EventHandler,
virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
// gfx::DisplayObserver:
- virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE;
virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE;
virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE;
+ virtual void OnDisplayMetricsChanged(const gfx::Display& display,
+ DisplayObserver::DisplayMetrics metrics) OVERRIDE;
private:
// Returns the target of |event| or NULL if the event is not targeted at

Powered by Google App Engine
This is Rietveld 408576698