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

Unified Diff: services/ui/ws/accessibility_manager.h

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
« no previous file with comments | « services/ui/ws/BUILD.gn ('k') | services/ui/ws/accessibility_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/accessibility_manager.h
diff --git a/services/ui/ws/accessibility_manager.h b/services/ui/ws/accessibility_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..aaf8992f2f785bea35d3994070f2c48434f1a6c4
--- /dev/null
+++ b/services/ui/ws/accessibility_manager.h
@@ -0,0 +1,38 @@
+// 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.
+
+#ifndef SERVICES_UI_WS_ACCESSIBILITY_MANAGER_H_
+#define SERVICES_UI_WS_ACCESSIBILITY_MANAGER_H_
+
+#include "mojo/public/cpp/bindings/binding.h"
+#include "services/ui/public/interfaces/accessibility_manager.mojom.h"
+#include "services/ui/ws/user_id.h"
+
+namespace ui {
+namespace ws {
+
+class WindowServer;
+
+class AccessibilityManager : public mojom::AccessibilityManager {
+ public:
+ AccessibilityManager(WindowServer* window_server, const UserId& user);
+ ~AccessibilityManager() override;
+
+ void Bind(mojom::AccessibilityManagerRequest request);
+
+ private:
+ // mojom::AccessibilityManager:
+ void SetHighContrastMode(bool enabled) override;
+
+ WindowServer* window_server_;
+ const UserId user_;
+ mojo::Binding<mojom::AccessibilityManager> binding_;
+
+ DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
+};
+
+} // namespace ws
+} // namespace ui
+
+#endif // SERVICES_UI_WS_ACCESSIBILITY_MANAGER_H_
« no previous file with comments | « services/ui/ws/BUILD.gn ('k') | services/ui/ws/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698