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

Unified Diff: services/ui/display/platform_screen_delegate.h

Issue 2461513002: Primary display change notifications. (Closed)
Patch Set: More fixes. Created 4 years, 2 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 | services/ui/display/platform_screen_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/platform_screen_delegate.h
diff --git a/services/ui/display/platform_screen_delegate.h b/services/ui/display/platform_screen_delegate.h
index b326c6a14b7ec7c9f0d1d01c6e4a1c6152b27822..7ad956df8dc66423ee9e5ea33b7a088e9c3d1e8b 100644
--- a/services/ui/display/platform_screen_delegate.h
+++ b/services/ui/display/platform_screen_delegate.h
@@ -34,6 +34,9 @@ class PlatformScreenDelegate {
virtual void OnDisplayModified(int64_t id,
const ViewportMetrics& metrics) = 0;
+ // Called when the primary display is changed.
+ virtual void OnPrimaryDisplayChanged(int64_t primary_display_id) = 0;
+
protected:
virtual ~PlatformScreenDelegate() {}
};
« no previous file with comments | « no previous file | services/ui/display/platform_screen_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698