OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ |
7 | 7 |
8 #include "chromeos/ime/input_method_manager.h" | 8 #include "chromeos/ime/input_method_manager.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 namespace input_method { | 11 namespace input_method { |
12 | 12 |
13 // Accessibility is a class handling accessibility feedbacks. | 13 // Accessibility is a class handling accessibility feedbacks. |
14 class Accessibility | 14 class Accessibility |
15 : public InputMethodManager::Observer { | 15 : public InputMethodManager::Observer { |
16 public: | 16 public: |
17 explicit Accessibility(InputMethodManager* imm); | 17 explicit Accessibility(InputMethodManager* imm); |
18 virtual ~Accessibility(); | 18 virtual ~Accessibility(); |
19 | 19 |
20 private: | 20 private: |
21 // InputMethodManager::Observer implementation. | 21 // InputMethodManager::Observer implementation. |
22 virtual void InputMethodChanged(InputMethodManager* imm, | 22 virtual void InputMethodChanged(InputMethodManager* imm, |
23 bool show_message) OVERRIDE; | 23 bool show_message) override; |
24 InputMethodManager* imm_; | 24 InputMethodManager* imm_; |
25 | 25 |
26 DISALLOW_COPY_AND_ASSIGN(Accessibility); | 26 DISALLOW_COPY_AND_ASSIGN(Accessibility); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace input_method | 29 } // namespace input_method |
30 } // namespace chromeos | 30 } // namespace chromeos |
31 | 31 |
32 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ | 32 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ |
OLD | NEW |