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

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

Issue 1055863002: ChromeOS: switch UI language before apps are loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove empty line. Created 5 years, 7 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
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/base/ime/chromeos/input_method_manager.h" 10 #include "ui/base/ime/chromeos/input_method_manager.h"
11 11
12 namespace content { 12 namespace content {
13 class BrowserContext; 13 class BrowserContext;
14 } 14 }
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 // Event router class for the input method events. 18 // Event router class for the input method events.
19 class ExtensionInputMethodEventRouter 19 class ExtensionInputMethodEventRouter
20 : public input_method::InputMethodManager::Observer { 20 : public input_method::InputMethodManager::Observer {
21 public: 21 public:
22 explicit ExtensionInputMethodEventRouter(content::BrowserContext* context); 22 explicit ExtensionInputMethodEventRouter(content::BrowserContext* context);
23 ~ExtensionInputMethodEventRouter() override; 23 ~ExtensionInputMethodEventRouter() override;
24 24
25 // Implements input_method::InputMethodManager::Observer: 25 // Implements input_method::InputMethodManager::Observer:
26 void InputMethodChanged(input_method::InputMethodManager* manager, 26 void InputMethodChanged(input_method::InputMethodManager* manager,
27 Profile* profile,
27 bool show_message) override; 28 bool show_message) override;
28 29
29 private: 30 private:
30 content::BrowserContext* context_; 31 content::BrowserContext* context_;
31 32
32 DISALLOW_COPY_AND_ASSIGN(ExtensionInputMethodEventRouter); 33 DISALLOW_COPY_AND_ASSIGN(ExtensionInputMethodEventRouter);
33 }; 34 };
34 35
35 } // namespace chromeos 36 } // namespace chromeos
36 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ 37 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698