Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: chrome/browser/chromeos/extensions/input_method_event_router.h

Issue 150203015: Split out InputMethodMenuManager from InputMethodManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make clang happy Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/basictypes.h"
Seigo Nonaka 2014/02/12 13:12:55 nit: please remove
Junichi Uekawa 2014/02/12 22:19:53 Done.
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "chromeos/ime/input_method_manager.h" 13 #include "chromeos/ime/input_method_manager.h"
13 14
14 namespace content { 15 namespace content {
15 class BrowserContext; 16 class BrowserContext;
16 } 17 }
17 18
18 namespace chromeos { 19 namespace chromeos {
19 20
20 // Event router class for the input method events. 21 // Event router class for the input method events.
21 class ExtensionInputMethodEventRouter 22 class ExtensionInputMethodEventRouter
22 : public input_method::InputMethodManager::Observer { 23 : public input_method::InputMethodManager::Observer {
23 public: 24 public:
24 explicit ExtensionInputMethodEventRouter(content::BrowserContext* context); 25 explicit ExtensionInputMethodEventRouter(content::BrowserContext* context);
25 virtual ~ExtensionInputMethodEventRouter(); 26 virtual ~ExtensionInputMethodEventRouter();
26 27
27 // Implements input_method::InputMethodManager::Observer: 28 // Implements input_method::InputMethodManager::Observer:
28 virtual void InputMethodChanged( 29 virtual void InputMethodChanged(
29 input_method::InputMethodManager* manager, 30 input_method::InputMethodManager* manager,
30 bool show_message) OVERRIDE; 31 bool show_message) OVERRIDE;
31 virtual void InputMethodPropertyChanged(
32 input_method::InputMethodManager* manager) OVERRIDE {}
33 32
34 private: 33 private:
35 content::BrowserContext* context_; 34 content::BrowserContext* context_;
36 35
37 DISALLOW_COPY_AND_ASSIGN(ExtensionInputMethodEventRouter); 36 DISALLOW_COPY_AND_ASSIGN(ExtensionInputMethodEventRouter);
38 }; 37 };
39 38
40 } // namespace chromeos 39 } // namespace chromeos
41 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ 40 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698