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

Unified Diff: services/ui/public/interfaces/accessibility_manager.mojom

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/public/interfaces/accessibility_manager.mojom
diff --git a/services/ui/public/interfaces/accessibility_manager.mojom b/services/ui/public/interfaces/accessibility_manager.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..94d9886fb92707e8adce30a49d4d068c3e90c1fe
--- /dev/null
+++ b/services/ui/public/interfaces/accessibility_manager.mojom
@@ -0,0 +1,13 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module ui.mojom;
+
+// Allows controlling accessibility in the UI service. Only one client at a time
+// can connect to AccessibilityManager. If a new client connects to it, then any
+// previously connected client is disconnected.
+interface AccessibilityManager {
+ // Enables (or disables) high contrast mode.
+ SetHighContrastMode(bool enabled);
sadrul 2016/07/08 16:22:18 Would it make sense to have "enum ServiceState { E
sky 2016/07/08 16:45:00 Seems like the caller is going to know what state
sadrul 2016/07/08 17:33:25 The system-tray gets an entry to toggle the flag,
+};

Powered by Google App Engine
This is Rietveld 408576698