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

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
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
11 namespace ui {
12 namespace ws {
13
14 class WindowServer;
15
16 class AccessibilityManager : public mojom::AccessibilityManager {
17 public:
18 explicit AccessibilityManager(WindowServer* window_server);
19 ~AccessibilityManager() override;
20
21 void Bind(mojom::AccessibilityManagerRequest request);
22
23 private:
24 // mojom::AccessibilityManager:
25 void SetHighContrastMode(bool enabled) override;
26
27 WindowServer* window_server_;
28 mojo::Binding<mojom::AccessibilityManager> binding_;
29
30 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
31 };
32
33 } // namespace ws
34 } // namespace ui
35
36 #endif // SERVICES_UI_WS_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698