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

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

Issue 2736943003: Start to decouple display::Display from ws::PlatformDisplay. (Closed)
Patch Set: Fix comments. Created 3 years, 9 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
Index: services/ui/display/screen_manager_stub_internal.h
diff --git a/services/ui/display/screen_manager_stub_internal.h b/services/ui/display/screen_manager_stub_internal.h
index 9d278d7172e831f7a7918b39a283bc12172799f3..71645ae877e17d99a7b0c6288511fa5e443deab0 100644
--- a/services/ui/display/screen_manager_stub_internal.h
+++ b/services/ui/display/screen_manager_stub_internal.h
@@ -9,7 +9,7 @@
#include "base/memory/weak_ptr.h"
#include "services/ui/display/screen_manager.h"
-#include "services/ui/display/viewport_metrics.h"
+#include "ui/display/display.h"
namespace display {
@@ -30,8 +30,7 @@ class ScreenManagerStubInternal : public ScreenManager {
void RequestCloseDisplay(int64_t display_id) override;
// Sample display information.
- int64_t display_id_ = 1;
- ViewportMetrics display_metrics_;
+ Display display_;
ScreenManagerDelegate* delegate_ = nullptr;
« no previous file with comments | « services/ui/display/screen_manager_ozone_internal_unittests.cc ('k') | services/ui/display/screen_manager_stub_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698