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

Unified Diff: services/ui/display/screen_manager_ozone.cc

Issue 2648433006: Get frecon working with mustash. (Closed)
Patch Set: Rebase and change manifests. Created 3 years, 11 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 | « services/ui/display/screen_manager_ozone.h ('k') | services/ui/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/screen_manager_ozone.cc
diff --git a/services/ui/display/screen_manager_ozone.cc b/services/ui/display/screen_manager_ozone.cc
index 9a8a0412b5ed77e4f2398df55d545abae2bcf714..772ee11d82b0fc2810999f36ffaebe2c51ac9d74 100644
--- a/services/ui/display/screen_manager_ozone.cc
+++ b/services/ui/display/screen_manager_ozone.cc
@@ -291,6 +291,16 @@ void ScreenManagerOzone::SetDisplayWorkArea(int64_t display_id,
display_manager_->UpdateWorkAreaOfDisplay(display_id, insets);
}
+void ScreenManagerOzone::TakeDisplayControl(
+ const TakeDisplayControlCallback& callback) {
+ display_configurator_.TakeControl(callback);
+}
+
+void ScreenManagerOzone::RelinquishDisplayControl(
+ const RelinquishDisplayControlCallback& callback) {
+ display_configurator_.RelinquishControl(callback);
+}
+
void ScreenManagerOzone::OnDisplayAdded(const Display& display) {
ViewportMetrics metrics = GetViewportMetricsForDisplay(display);
DVLOG(1) << "OnDisplayAdded: " << display.ToString() << "\n "
« no previous file with comments | « services/ui/display/screen_manager_ozone.h ('k') | services/ui/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698