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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_WS_ACCESSIBILITY_MANAGER_H_
6 #define SERVICES_UI_WS_ACCESSIBILITY_MANAGER_H_
7
8 #include "mojo/public/cpp/bindings/binding.h"
9 #include "services/ui/public/interfaces/accessibility_manager.mojom.h"
10 #include "services/ui/ws/user_id.h"
11
12 namespace ui {
13 namespace ws {
14
15 class WindowServer;
16
17 class AccessibilityManager : public mojom::AccessibilityManager {
18 public:
19 AccessibilityManager(WindowServer* window_server, const UserId& user);
20 ~AccessibilityManager() override;
21
22 void Bind(mojom::AccessibilityManagerRequest request);
23
24 private:
25 // mojom::AccessibilityManager:
26 void SetHighContrastMode(bool enabled) override;
27
28 WindowServer* window_server_;
29 const UserId user_;
30 mojo::Binding<mojom::AccessibilityManager> binding_;
31
32 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
33 };
34
35 } // namespace ws
36 } // namespace ui
37
38 #endif // SERVICES_UI_WS_ACCESSIBILITY_MANAGER_H_
OLDNEW
« 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