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

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: 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 | « ash/display/resolution_notification_controller.h ('k') | ash/display/screen_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..315dd5ab5b65cb512ba195cf4f9c1d231443ac29 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,10 @@ void ResolutionNotificationController::OnDisplayRemoved(
RevertResolutionChange();
}
+void ResolutionNotificationController::OnDisplayMetricsChanged(
+ const gfx::Display&, uint32_t) {
+}
+
void ResolutionNotificationController::OnDisplayConfigurationChanged() {
if (!change_info_)
return;
« no previous file with comments | « ash/display/resolution_notification_controller.h ('k') | ash/display/screen_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698