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

Side by Side Diff: chromeos/dbus/ibus/ibus_property.cc

Issue 10828114: Fix missing default values. (Closed) Base URL: http://git.chromium.org/chromium/src.git@ibus_module_revise
Patch Set: Add default value for initial page size constant Created 8 years, 4 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 | « chromeos/dbus/ibus/ibus_lookup_table.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chromeos/dbus/ibus/ibus_property.h" 5 #include "chromeos/dbus/ibus/ibus_property.h"
6 6
7 #include <string> 7 #include <string>
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chromeos/dbus/ibus/ibus_object.h" 9 #include "chromeos/dbus/ibus/ibus_object.h"
10 #include "chromeos/dbus/ibus/ibus_text.h" 10 #include "chromeos/dbus/ibus/ibus_text.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 for (size_t i = 0; i < property_list.size(); ++i) { 167 for (size_t i = 0; i < property_list.size(); ++i) {
168 AppendIBusProperty(*(property_list[i]), &property_list_writer); 168 AppendIBusProperty(*(property_list[i]), &property_list_writer);
169 } 169 }
170 ibus_property_list_writer.CloseContainer(&property_list_writer); 170 ibus_property_list_writer.CloseContainer(&property_list_writer);
171 ibus_property_list_writer.CloseAll(); 171 ibus_property_list_writer.CloseAll();
172 } 172 }
173 173
174 174
175 /////////////////////////////////////////////////////////////////////////////// 175 ///////////////////////////////////////////////////////////////////////////////
176 // IBusProperty 176 // IBusProperty
177 IBusProperty::IBusProperty() { 177 IBusProperty::IBusProperty()
178 : type_(IBUS_PROPERTY_TYPE_NORMAL),
179 visible_(false),
180 checked_(false) {
178 } 181 }
179 182
180 IBusProperty::~IBusProperty() { 183 IBusProperty::~IBusProperty() {
181 } 184 }
182 185
183 } // namespace ibus 186 } // namespace ibus
184 } // namespace chromeos 187 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_lookup_table.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698