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

Side by Side Diff: chromeos/ime/component_extension_ime_manager.h

Issue 495593004: Check the IME component extension's availability on linux_chromeos, so that system fallback VK can … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 6 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMPONENT_EXTENSION_IME_MANAGER_H_ 5 #ifndef CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_
6 #define CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_ 6 #define CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class CHROMEOS_EXPORT ComponentExtensionIMEManagerDelegate { 47 class CHROMEOS_EXPORT ComponentExtensionIMEManagerDelegate {
48 public: 48 public:
49 ComponentExtensionIMEManagerDelegate(); 49 ComponentExtensionIMEManagerDelegate();
50 virtual ~ComponentExtensionIMEManagerDelegate(); 50 virtual ~ComponentExtensionIMEManagerDelegate();
51 51
52 // Lists installed component extension IMEs. 52 // Lists installed component extension IMEs.
53 virtual std::vector<ComponentExtensionIME> ListIME() = 0; 53 virtual std::vector<ComponentExtensionIME> ListIME() = 0;
54 54
55 // Loads component extension IME associated with |extension_id|. 55 // Loads component extension IME associated with |extension_id|.
56 // Returns false if it fails, otherwise returns true. 56 // Returns false if it fails, otherwise returns true.
57 virtual bool Load(Profile* profile, 57 virtual void Load(Profile* profile,
58 const std::string& extension_id, 58 const std::string& extension_id,
59 const std::string& manifest, 59 const std::string& manifest,
60 const base::FilePath& path) = 0; 60 const base::FilePath& path) = 0;
61 61
62 // Unloads component extension IME associated with |extension_id|. 62 // Unloads component extension IME associated with |extension_id|.
63 virtual void Unload(Profile* profile, 63 virtual void Unload(Profile* profile,
64 const std::string& extension_id, 64 const std::string& extension_id,
65 const base::FilePath& path) = 0; 65 const base::FilePath& path) = 0;
66 }; 66 };
67 67
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 std::set<std::string> input_method_id_set_; 121 std::set<std::string> input_method_id_set_;
122 122
123 std::set<std::string> login_layout_set_; 123 std::set<std::string> login_layout_set_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(ComponentExtensionIMEManager); 125 DISALLOW_COPY_AND_ASSIGN(ComponentExtensionIMEManager);
126 }; 126 };
127 127
128 } // namespace chromeos 128 } // namespace chromeos
129 129
130 #endif // CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_ 130 #endif // CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_manager_impl.cc ('k') | chromeos/ime/component_extension_ime_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698