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

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

Issue 608183002: Move all white-listed input method indicator text from InputMethodUtil to manifests of IME extensio… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revised per comments. Created 6 years, 2 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
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "chromeos/chromeos_export.h" 14 #include "chromeos/chromeos_export.h"
15 #include "chromeos/ime/input_method_descriptor.h" 15 #include "chromeos/ime/input_method_descriptor.h"
16 16
17 class Profile; 17 class Profile;
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 // Represents an engine in component extension IME. 21 // Represents an engine in component extension IME.
22 struct CHROMEOS_EXPORT ComponentExtensionEngine { 22 struct CHROMEOS_EXPORT ComponentExtensionEngine {
23 ComponentExtensionEngine(); 23 ComponentExtensionEngine();
24 ~ComponentExtensionEngine(); 24 ~ComponentExtensionEngine();
25 std::string engine_id; // The engine id. 25 std::string engine_id; // The engine id.
26 std::string display_name; // The display name. 26 std::string display_name; // The display name.
27 std::string indicator; // The indicator text.
27 std::vector<std::string> language_codes; // The engine's language(ex. "en"). 28 std::vector<std::string> language_codes; // The engine's language(ex. "en").
28 std::string description; // The engine description. 29 std::string description; // The engine description.
29 std::vector<std::string> layouts; // The list of keyboard layout of engine. 30 std::vector<std::string> layouts; // The list of keyboard layout of engine.
30 GURL options_page_url; // an URL to option page. 31 GURL options_page_url; // an URL to option page.
31 GURL input_view_url; // an URL to input view page. 32 GURL input_view_url; // an URL to input view page.
32 }; 33 };
33 34
34 // Represents a component extension IME. 35 // Represents a component extension IME.
35 struct CHROMEOS_EXPORT ComponentExtensionIME { 36 struct CHROMEOS_EXPORT ComponentExtensionIME {
36 ComponentExtensionIME(); 37 ComponentExtensionIME();
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 std::set<std::string> input_method_id_set_; 122 std::set<std::string> input_method_id_set_;
122 123
123 std::set<std::string> login_layout_set_; 124 std::set<std::string> login_layout_set_;
124 125
125 DISALLOW_COPY_AND_ASSIGN(ComponentExtensionIMEManager); 126 DISALLOW_COPY_AND_ASSIGN(ComponentExtensionIMEManager);
126 }; 127 };
127 128
128 } // namespace chromeos 129 } // namespace chromeos
129 130
130 #endif // CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_ 131 #endif // CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698