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

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

Issue 2161993002: Start using display.mojom.Display in mus+ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@display_traits
Patch Set: Fixes. Created 4 years, 5 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/platform_display.h ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display.cc
diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
index 93d4e08831f4dd5a92a45bd8530ea88dc3332cf7..f35de8fbeaa0c7d77ec078a4b1852397bf21c712 100644
--- a/services/ui/ws/platform_display.cc
+++ b/services/ui/ws/platform_display.cc
@@ -142,9 +142,9 @@ float DefaultPlatformDisplay::GetDeviceScaleFactor() {
return metrics_.device_scale_factor;
}
-mojom::Rotation DefaultPlatformDisplay::GetRotation() {
+::display::Display::Rotation DefaultPlatformDisplay::GetRotation() {
// TODO(sky): implement me.
- return mojom::Rotation::VALUE_0;
+ return display::Display::ROTATE_0;
}
void DefaultPlatformDisplay::UpdateTextInputState(
« no previous file with comments | « services/ui/ws/platform_display.h ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698