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 "ui/base/ime/chromeos/input_method_manager.h" | 8 #include "ui/base/ime/chromeos/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 ~Accessibility() override; | 18 ~Accessibility() override; |
19 | 19 |
20 private: | 20 private: |
21 // InputMethodManager::Observer implementation. | 21 // InputMethodManager::Observer implementation. |
22 void InputMethodChanged(InputMethodManager* imm, bool show_message) override; | 22 void InputMethodChanged(InputMethodManager* imm, |
| 23 Profile* profile, |
| 24 bool show_message) override; |
23 InputMethodManager* imm_; | 25 InputMethodManager* imm_; |
24 | 26 |
25 DISALLOW_COPY_AND_ASSIGN(Accessibility); | 27 DISALLOW_COPY_AND_ASSIGN(Accessibility); |
26 }; | 28 }; |
27 | 29 |
28 } // namespace input_method | 30 } // namespace input_method |
29 } // namespace chromeos | 31 } // namespace chromeos |
30 | 32 |
31 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ | 33 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ |
OLD | NEW |