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

Unified Diff: ash/display/display_controller.h

Issue 259253002: Add OnDisplayMetricsChanged in DisplayObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_orientation
Patch Set: jochen comments (inc. git cl format) 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
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | ash/display/display_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.h
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h
index fb61b84b9101624f4dc79fca5236cee22542f9cc..d02f2803191c04cdd6554e3869197c379b7d8aaa 100644
--- a/ash/display/display_controller.h
+++ b/ash/display/display_controller.h
@@ -145,11 +145,12 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver,
// Sets the work area's |insets| to the display assigned to |window|.
bool UpdateWorkAreaOfDisplayNearestWindow(const aura::Window* window,
const gfx::Insets& insets);
- // aura::DisplayObserver overrides:
- virtual void OnDisplayBoundsChanged(
- const gfx::Display& display) OVERRIDE;
+ // gfx::DisplayObserver overrides:
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;
oshima 2014/05/14 15:53:34 this should be uint32. I probably misguided when w
// aura::WindowTreeHostObserver overrides:
virtual void OnHostResized(const aura::WindowTreeHost* host) OVERRIDE;
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | ash/display/display_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698