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

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

Issue 2127383003: mus: Introduce high-contrast mode in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
Index: services/ui/ws/platform_display.cc
diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
index 801a8a4c9757a063e31e4268c32745aba3f5b357..93d4e08831f4dd5a92a45bd8530ea88dc3332cf7 100644
--- a/services/ui/ws/platform_display.cc
+++ b/services/ui/ws/platform_display.cc
@@ -271,6 +271,10 @@ void DefaultPlatformDisplay::OnCompositorFrameDrawn() {
delegate_->OnCompositorFrameDrawn();
}
+bool DefaultPlatformDisplay::IsInHighContrastMode() {
+ return delegate_ ? delegate_->IsInHighContrastMode() : false;
+}
+
const ViewportMetrics& DefaultPlatformDisplay::GetViewportMetrics() {
return metrics_;
}

Powered by Google App Engine
This is Rietveld 408576698