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

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

Issue 1871743003: ui: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | ui/base/ime/chromeos/component_extension_ime_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_BASE_IME_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_
6 #define UI_BASE_IME_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ 6 #define UI_BASE_IME_CHROMEOS_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/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "ui/base/ime/chromeos/input_method_descriptor.h" 15 #include "ui/base/ime/chromeos/input_method_descriptor.h"
16 #include "ui/base/ime/ui_base_ime_export.h" 16 #include "ui/base/ime/ui_base_ime_export.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace chromeos { 20 namespace chromeos {
21 21
22 // Represents an engine in component extension IME. 22 // Represents an engine in component extension IME.
23 struct UI_BASE_IME_EXPORT ComponentExtensionEngine { 23 struct UI_BASE_IME_EXPORT ComponentExtensionEngine {
24 ComponentExtensionEngine(); 24 ComponentExtensionEngine();
25 ComponentExtensionEngine(const ComponentExtensionEngine& other);
25 ~ComponentExtensionEngine(); 26 ~ComponentExtensionEngine();
26 std::string engine_id; // The engine id. 27 std::string engine_id; // The engine id.
27 std::string display_name; // The display name. 28 std::string display_name; // The display name.
28 std::string indicator; // The indicator text. 29 std::string indicator; // The indicator text.
29 std::vector<std::string> language_codes; // The engine's language(ex. "en"). 30 std::vector<std::string> language_codes; // The engine's language(ex. "en").
30 std::string description; // The engine description. 31 std::string description; // The engine description.
31 std::vector<std::string> layouts; // The list of keyboard layout of engine. 32 std::vector<std::string> layouts; // The list of keyboard layout of engine.
32 GURL options_page_url; // an URL to option page. 33 GURL options_page_url; // an URL to option page.
33 GURL input_view_url; // an URL to input view page. 34 GURL input_view_url; // an URL to input view page.
34 }; 35 };
35 36
36 // Represents a component extension IME. 37 // Represents a component extension IME.
37 struct UI_BASE_IME_EXPORT ComponentExtensionIME { 38 struct UI_BASE_IME_EXPORT ComponentExtensionIME {
38 ComponentExtensionIME(); 39 ComponentExtensionIME();
40 ComponentExtensionIME(const ComponentExtensionIME& other);
39 ~ComponentExtensionIME(); 41 ~ComponentExtensionIME();
40 std::string id; // extension id. 42 std::string id; // extension id.
41 std::string manifest; // the contents of manifest.json 43 std::string manifest; // the contents of manifest.json
42 std::string description; // description of extension. 44 std::string description; // description of extension.
43 GURL options_page_url; // an URL to option page. 45 GURL options_page_url; // an URL to option page.
44 base::FilePath path; 46 base::FilePath path;
45 std::vector<ComponentExtensionEngine> engines; 47 std::vector<ComponentExtensionEngine> engines;
46 }; 48 };
47 49
48 // Provides an interface to list/load/unload for component extension IME. 50 // Provides an interface to list/load/unload for component extension IME.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 std::set<std::string> input_method_id_set_; 125 std::set<std::string> input_method_id_set_;
124 126
125 std::set<std::string> login_layout_set_; 127 std::set<std::string> login_layout_set_;
126 128
127 DISALLOW_COPY_AND_ASSIGN(ComponentExtensionIMEManager); 129 DISALLOW_COPY_AND_ASSIGN(ComponentExtensionIMEManager);
128 }; 130 };
129 131
130 } // namespace chromeos 132 } // namespace chromeos
131 133
132 #endif // UI_BASE_IME_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ 134 #endif // UI_BASE_IME_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/ime/chromeos/component_extension_ime_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698