OLD | NEW |
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_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_ |
7 | 7 |
8 #include "base/task/sequenced_task_runner.h" | 8 #include "base/sequenced_task_runner.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 namespace input_method { | 11 namespace input_method { |
12 | 12 |
13 class InputMethodManager; | 13 class InputMethodManager; |
14 | 14 |
15 // Initializes the InputMethodManager. Must be called before any calls to | 15 // Initializes the InputMethodManager. Must be called before any calls to |
16 // GetInstance(). We explicitly initialize and shut down the global instance, | 16 // GetInstance(). We explicitly initialize and shut down the global instance, |
17 // rather than making it a Singleton, to ensure clean startup and shutdown. | 17 // rather than making it a Singleton, to ensure clean startup and shutdown. |
18 void Initialize( | 18 void Initialize( |
(...skipping 10 matching lines...) Expand all Loading... |
29 void Shutdown(); | 29 void Shutdown(); |
30 | 30 |
31 // Gets the global InputMethodManager. Initialize() or InitializeForTesting() | 31 // Gets the global InputMethodManager. Initialize() or InitializeForTesting() |
32 // must be called first. | 32 // must be called first. |
33 InputMethodManager* GetInputMethodManager(); | 33 InputMethodManager* GetInputMethodManager(); |
34 | 34 |
35 } // namespace input_method | 35 } // namespace input_method |
36 } // namespace chromeos | 36 } // namespace chromeos |
37 | 37 |
38 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_ | 38 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_ |
OLD | NEW |