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

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

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
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 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" 5 #include "ui/base/ime/chromeos/component_extension_ime_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool InputMethodCompare(const input_method::InputMethodDescriptor& im1, 86 bool InputMethodCompare(const input_method::InputMethodDescriptor& im1,
87 const input_method::InputMethodDescriptor& im2) { 87 const input_method::InputMethodDescriptor& im2) {
88 return GetInputMethodCategory(im1.id()) < GetInputMethodCategory(im2.id()); 88 return GetInputMethodCategory(im1.id()) < GetInputMethodCategory(im2.id());
89 } 89 }
90 90
91 } // namespace 91 } // namespace
92 92
93 ComponentExtensionEngine::ComponentExtensionEngine() { 93 ComponentExtensionEngine::ComponentExtensionEngine() {
94 } 94 }
95 95
96 ComponentExtensionEngine::ComponentExtensionEngine(
97 const ComponentExtensionEngine& other) = default;
98
96 ComponentExtensionEngine::~ComponentExtensionEngine() { 99 ComponentExtensionEngine::~ComponentExtensionEngine() {
97 } 100 }
98 101
99 ComponentExtensionIME::ComponentExtensionIME() { 102 ComponentExtensionIME::ComponentExtensionIME() {
100 } 103 }
101 104
105 ComponentExtensionIME::ComponentExtensionIME(
106 const ComponentExtensionIME& other) = default;
107
102 ComponentExtensionIME::~ComponentExtensionIME() { 108 ComponentExtensionIME::~ComponentExtensionIME() {
103 } 109 }
104 110
105 ComponentExtensionIMEManagerDelegate::ComponentExtensionIMEManagerDelegate() { 111 ComponentExtensionIMEManagerDelegate::ComponentExtensionIMEManagerDelegate() {
106 } 112 }
107 113
108 ComponentExtensionIMEManagerDelegate::~ComponentExtensionIMEManagerDelegate() { 114 ComponentExtensionIMEManagerDelegate::~ComponentExtensionIMEManagerDelegate() {
109 } 115 }
110 116
111 ComponentExtensionIMEManager::ComponentExtensionIMEManager() { 117 ComponentExtensionIMEManager::ComponentExtensionIMEManager() {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 bool ComponentExtensionIMEManager::IsInLoginLayoutWhitelist( 246 bool ComponentExtensionIMEManager::IsInLoginLayoutWhitelist(
241 const std::vector<std::string>& layouts) { 247 const std::vector<std::string>& layouts) {
242 for (size_t i = 0; i < layouts.size(); ++i) { 248 for (size_t i = 0; i < layouts.size(); ++i) {
243 if (login_layout_set_.find(layouts[i]) != login_layout_set_.end()) 249 if (login_layout_set_.find(layouts[i]) != login_layout_set_.end())
244 return true; 250 return true;
245 } 251 }
246 return false; 252 return false;
247 } 253 }
248 254
249 } // namespace chromeos 255 } // namespace chromeos
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/component_extension_ime_manager.h ('k') | ui/base/ime/chromeos/input_method_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698