| 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 "base/macros.h" |
| 8 #include "ui/base/ime/chromeos/input_method_manager.h" | 9 #include "ui/base/ime/chromeos/input_method_manager.h" |
| 9 | 10 |
| 10 namespace chromeos { | 11 namespace chromeos { |
| 11 namespace input_method { | 12 namespace input_method { |
| 12 | 13 |
| 13 // Accessibility is a class handling accessibility feedbacks. | 14 // Accessibility is a class handling accessibility feedbacks. |
| 14 class Accessibility | 15 class Accessibility |
| 15 : public InputMethodManager::Observer { | 16 : public InputMethodManager::Observer { |
| 16 public: | 17 public: |
| 17 explicit Accessibility(InputMethodManager* imm); | 18 explicit Accessibility(InputMethodManager* imm); |
| 18 ~Accessibility() override; | 19 ~Accessibility() override; |
| 19 | 20 |
| 20 private: | 21 private: |
| 21 // InputMethodManager::Observer implementation. | 22 // InputMethodManager::Observer implementation. |
| 22 void InputMethodChanged(InputMethodManager* imm, | 23 void InputMethodChanged(InputMethodManager* imm, |
| 23 Profile* profile, | 24 Profile* profile, |
| 24 bool show_message) override; | 25 bool show_message) override; |
| 25 InputMethodManager* imm_; | 26 InputMethodManager* imm_; |
| 26 | 27 |
| 27 DISALLOW_COPY_AND_ASSIGN(Accessibility); | 28 DISALLOW_COPY_AND_ASSIGN(Accessibility); |
| 28 }; | 29 }; |
| 29 | 30 |
| 30 } // namespace input_method | 31 } // namespace input_method |
| 31 } // namespace chromeos | 32 } // namespace chromeos |
| 32 | 33 |
| 33 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ | 34 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ |
| OLD | NEW |