OLD | NEW |
(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_ |
OLD | NEW |