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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_configuration.h

Issue 389913002: Moving IME manifests to chrome resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased. Created 6 years, 5 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_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/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();
19 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
20 const scoped_refptr<base::SequencedTaskRunner>& file_task_runner);
21 19
22 // Similar to Initialize(), but can inject an alternative 20 // Similar to Initialize(), but can inject an alternative
23 // InputMethodManager such as MockInputMethodManager for testing. 21 // InputMethodManager such as MockInputMethodManager for testing.
24 // The injected object will be owned by the internal pointer and deleted 22 // The injected object will be owned by the internal pointer and deleted
25 // by Shutdown(). 23 // by Shutdown().
26 // TODO(nona): Remove this and use InputMethodManager::Initialize instead. 24 // TODO(nona): Remove this and use InputMethodManager::Initialize instead.
27 void InitializeForTesting(InputMethodManager* mock_manager); 25 void InitializeForTesting(InputMethodManager* mock_manager);
28 26
29 // Destroys the global InputMethodManager instance. 27 // Destroys the global InputMethodManager instance.
30 void Shutdown(); 28 void Shutdown();
31 29
32 } // namespace input_method 30 } // namespace input_method
33 } // namespace chromeos 31 } // namespace chromeos
34 32
35 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_ 33 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIGURATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698