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

Unified Diff: ash/display/resolution_notification_controller.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/display/resolution_notification_controller.cc
diff --git a/ash/display/resolution_notification_controller.cc b/ash/display/resolution_notification_controller.cc
index 2c454029e79d7ef4332407487358a78d00a4289e..6318d5ca076a6826f51823ce81b1b0478cb53301 100644
--- a/ash/display/resolution_notification_controller.cc
+++ b/ash/display/resolution_notification_controller.cc
@@ -285,10 +285,6 @@ void ResolutionNotificationController::RevertResolutionChange() {
display_id, old_resolution);
}
-void ResolutionNotificationController::OnDisplayBoundsChanged(
- const gfx::Display& display) {
-}
-
void ResolutionNotificationController::OnDisplayAdded(
const gfx::Display& new_display) {
}
@@ -299,6 +295,11 @@ void ResolutionNotificationController::OnDisplayRemoved(
RevertResolutionChange();
}
+void ResolutionNotificationController::OnDisplayMetricsChanged(
+ const gfx::Display&,
+ DisplayObserver::DisplayMetrics) {
+}
+
void ResolutionNotificationController::OnDisplayConfigurationChanged() {
if (!change_info_)
return;

Powered by Google App Engine
This is Rietveld 408576698