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

Unified Diff: ash/shell/window_watcher.cc

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
Index: ash/shell/window_watcher.cc
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc
index 55231cf7a0608148a22974e4fc43f7f635f64e4a..a934af18c90c85eb32b62ee037864fc06a1bb390 100644
--- a/ash/shell/window_watcher.cc
+++ b/ash/shell/window_watcher.cc
@@ -138,9 +138,6 @@ void WindowWatcher::OnWillRemoveWindow(aura::Window* window) {
}
}
-void WindowWatcher::OnDisplayBoundsChanged(const gfx::Display& display) {
-}
-
void WindowWatcher::OnDisplayAdded(const gfx::Display& new_display) {
aura::Window* root = Shell::GetInstance()->display_controller()->
GetRootWindowForDisplayId(new_display.id());
@@ -152,5 +149,9 @@ void WindowWatcher::OnDisplayRemoved(const gfx::Display& old_display) {
// remove observers.
}
+void WindowWatcher::OnDisplayMetricsChanged(const gfx::Display&,
+ DisplayObserver::DisplayMetrics) {
+}
+
} // namespace shell
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698