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

Unified Diff: components/mus/ws/display.cc

Issue 2081253002: Implement rudimentary touchscreen support in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing pure virtual. Created 4 years, 6 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 | « components/mus/ws/display.h ('k') | components/mus/ws/platform_display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display.cc
diff --git a/components/mus/ws/display.cc b/components/mus/ws/display.cc
index 45d116dd7fbb45415d494f5915788101c89eb5b1..6988841f88da8cdfb507a17a6891a8047188417b 100644
--- a/components/mus/ws/display.cc
+++ b/components/mus/ws/display.cc
@@ -144,6 +144,14 @@ mojom::Rotation Display::GetRotation() const {
return platform_display_->GetRotation();
}
+gfx::Size Display::GetSize() const {
+ return root_->bounds().size();
+}
+
+int64_t Display::GetPlatformDisplayId() const {
+ return platform_display_->GetDisplayId();
+}
+
const WindowManagerState* Display::GetActiveWindowManagerState() const {
return GetWindowManagerStateForUser(
window_server_->user_id_tracker()->active_id());
« no previous file with comments | « components/mus/ws/display.h ('k') | components/mus/ws/platform_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698