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

Side by Side Diff: chromeos/ime/input_method_manager.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 CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 5 #ifndef CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
6 #define CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 6 #define CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // Sets the global instance. |instance| will be owned by the internal pointer 68 // Sets the global instance. |instance| will be owned by the internal pointer
69 // and deleted by Shutdown(). 69 // and deleted by Shutdown().
70 // TODO(nona): Instanciate InputMethodManagerImpl inside of this function once 70 // TODO(nona): Instanciate InputMethodManagerImpl inside of this function once
71 // crbug.com/164375 is fixed. 71 // crbug.com/164375 is fixed.
72 static CHROMEOS_EXPORT void Initialize(InputMethodManager* instance); 72 static CHROMEOS_EXPORT void Initialize(InputMethodManager* instance);
73 73
74 // Destroy the global instance. 74 // Destroy the global instance.
75 static CHROMEOS_EXPORT void Shutdown(); 75 static CHROMEOS_EXPORT void Shutdown();
76 76
77 // Initialize component extensions.
78 virtual void InitializeComponentExtension() = 0;
79
77 // Adds an observer to receive notifications of input method related 80 // Adds an observer to receive notifications of input method related
78 // changes as desribed in the Observer class above. 81 // changes as desribed in the Observer class above.
79 virtual void AddObserver(Observer* observer) = 0; 82 virtual void AddObserver(Observer* observer) = 0;
80 virtual void AddCandidateWindowObserver( 83 virtual void AddCandidateWindowObserver(
81 CandidateWindowObserver* observer) = 0; 84 CandidateWindowObserver* observer) = 0;
82 virtual void RemoveObserver(Observer* observer) = 0; 85 virtual void RemoveObserver(Observer* observer) = 0;
83 virtual void RemoveCandidateWindowObserver( 86 virtual void RemoveCandidateWindowObserver(
84 CandidateWindowObserver* observer) = 0; 87 CandidateWindowObserver* observer) = 0;
85 88
86 // Returns all input methods that are supported, including ones not active. 89 // Returns all input methods that are supported, including ones not active.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 195
193 // Migrates the input method id to extension-based input method id. 196 // Migrates the input method id to extension-based input method id.
194 virtual bool MigrateInputMethods( 197 virtual bool MigrateInputMethods(
195 std::vector<std::string>* input_method_ids) = 0; 198 std::vector<std::string>* input_method_ids) = 0;
196 }; 199 };
197 200
198 } // namespace input_method 201 } // namespace input_method
199 } // namespace chromeos 202 } // namespace chromeos
200 203
201 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 204 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
OLDNEW
« chromeos/ime/ime_keyboard_x11.cc ('K') | « chromeos/ime/ime_keyboard_x11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698