Fix infinite recursion on hiding panel when created during fullscreen mode.
[chromium-blink-merge.git] / chrome / browser / chromeos / input_method / accessibility.h
blob60fb0848a5e342d734340e5cb494cf9503a5b8d3
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.
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_
8 #include "chromeos/ime/input_method_manager.h"
10 namespace chromeos {
11 namespace input_method {
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();
20 private:
21 // InputMethodManager::Observer implementation.
22 virtual void InputMethodChanged(InputMethodManager* imm,
23 bool show_message) OVERRIDE;
24 InputMethodManager* imm_;
26 DISALLOW_COPY_AND_ASSIGN(Accessibility);
29 } // namespace input_method
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_ACCESSIBILITY_H_