OLD | NEW |
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 Loading... |
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 |
OLD | NEW |