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

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

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 | « services/ui/ws/display.h ('k') | services/ui/ws/display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display.cc
diff --git a/services/ui/ws/display.cc b/services/ui/ws/display.cc
index 340dfba1483e8596fea74bf9a638e73229f841e5..08fa51e93f36d3b93f5cbe51401edff2b9d0cb92 100644
--- a/services/ui/ws/display.cc
+++ b/services/ui/ws/display.cc
@@ -89,17 +89,6 @@ const DisplayManager* Display::display_manager() const {
return window_server_->display_manager();
}
-mojom::WsDisplayPtr Display::ToWsDisplay() const {
- mojom::WsDisplayPtr display_ptr = mojom::WsDisplay::New();
-
- display_ptr->display = ToDisplay();
- display_ptr->is_primary = platform_display_->IsPrimaryDisplay();
-
- // TODO(sky): make this real.
- display_ptr->frame_decoration_values = mojom::FrameDecorationValues::New();
- return display_ptr;
-}
-
display::Display Display::ToDisplay() const {
display::Display display(GetId());
« no previous file with comments | « services/ui/ws/display.h ('k') | services/ui/ws/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698