1 // Copyright (c) 2012 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_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
12 #include "ui/base/ime/chromeos/input_method_manager.h"
20 // Event router class for the input method events.
21 class ExtensionInputMethodEventRouter
22 : public input_method::InputMethodManager::Observer
{
24 explicit ExtensionInputMethodEventRouter(content::BrowserContext
* context
);
25 ~ExtensionInputMethodEventRouter() override
;
27 // Implements input_method::InputMethodManager::Observer:
28 void InputMethodChanged(input_method::InputMethodManager
* manager
,
29 bool show_message
) override
;
32 content::BrowserContext
* context_
;
34 DISALLOW_COPY_AND_ASSIGN(ExtensionInputMethodEventRouter
);
37 } // namespace chromeos
38 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_