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

Unified Diff: ash/display/screen_ash.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
« no previous file with comments | « ash/display/resolution_notification_controller.cc ('k') | ash/display/screen_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/screen_ash.h
diff --git a/ash/display/screen_ash.h b/ash/display/screen_ash.h
index 08011b23d0966620f25a115290ca8b01c69aa5d7..c5f4b85b8b7262f4289fda0e9853b09b5e9325a5 100644
--- a/ash/display/screen_ash.h
+++ b/ash/display/screen_ash.h
@@ -8,6 +8,7 @@
#include "ash/ash_export.h"
#include "base/compiler_specific.h"
#include "base/observer_list.h"
+#include "ui/gfx/display_observer.h"
#include "ui/gfx/screen.h"
namespace gfx {
@@ -81,7 +82,7 @@ class ASH_EXPORT ScreenAsh : public gfx::Screen {
friend class DisplayManager;
// Notifies observers of display configuration changes.
- void NotifyBoundsChanged(const gfx::Display& display);
+ void NotifyMetricsChanged(const gfx::Display& display, uint32_t metrics);
void NotifyDisplayAdded(const gfx::Display& display);
void NotifyDisplayRemoved(const gfx::Display& display);
« no previous file with comments | « ash/display/resolution_notification_controller.cc ('k') | ash/display/screen_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698