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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ 7 8 #include "chromeos/ime/input_method_manager.h" 9 10 namespace chromeos { 11 namespace input_method { 12 13 // Accessibility is a class handling accessibility feedbacks. 14 class Accessibility 15 : public InputMethodManager::Observer { 16 public: 17 explicit Accessibility(InputMethodManager* imm); 18 virtual ~Accessibility(); 19 20 private: 21 // InputMethodManager::Observer implementation. 22 virtual void InputMethodChanged(InputMethodManager* imm, 23 bool show_message) OVERRIDE; 24 virtual void InputMethodPropertyChanged(InputMethodManager* imm) OVERRIDE; 25 26 InputMethodManager* imm_; 27 28 DISALLOW_COPY_AND_ASSIGN(Accessibility); 29 }; 30 31 } // namespace input_method 32 } // namespace chromeos 33 34 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_ 35