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 #ifndef CHROMEOS_DBUS_IBUS_IBUS_TEXT_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_TEXT_H_ |
6 #define CHROMEOS_DBUS_IBUS_IBUS_TEXT_H_ | 6 #define CHROMEOS_DBUS_IBUS_IBUS_TEXT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
12 | 12 |
13 namespace dbus { | 13 namespace dbus { |
14 class MessageWriter; | 14 class MessageWriter; |
15 class MessageReader; | 15 class MessageReader; |
16 } // dbus | 16 } // dbus |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 // TODO(nona): Remove ibus namespace after complete libibus removal. | |
20 namespace ibus { | |
21 | 19 |
22 // The IBusText is one of IBusObjects and it contains IBusAttrList object which | 20 // The IBusText is one of IBusObjects and it contains IBusAttrList object which |
23 // contains array of IBusAttribute object. The overview of each data structure | 21 // contains array of IBusAttribute object. The overview of each data structure |
24 // is as follows: | 22 // is as follows: |
25 // | 23 // |
26 // DATA STRUCTURE OVERVIEW: | 24 // DATA STRUCTURE OVERVIEW: |
27 // | 25 // |
28 // IBusAttribute: (signature is "uuuu") | 26 // IBusAttribute: (signature is "uuuu") |
29 // variant struct { | 27 // variant struct { |
30 // string "IBusAttribute" | 28 // string "IBusAttribute" |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 std::string text_; | 176 std::string text_; |
179 std::string annotation_; | 177 std::string annotation_; |
180 std::string description_title_; | 178 std::string description_title_; |
181 std::string description_body_; | 179 std::string description_body_; |
182 std::vector<UnderlineAttribute> underline_attributes_; | 180 std::vector<UnderlineAttribute> underline_attributes_; |
183 std::vector<SelectionAttribute> selection_attributes_; | 181 std::vector<SelectionAttribute> selection_attributes_; |
184 | 182 |
185 DISALLOW_COPY_AND_ASSIGN(IBusText); | 183 DISALLOW_COPY_AND_ASSIGN(IBusText); |
186 }; | 184 }; |
187 | 185 |
188 } // namespace ibus | |
189 } // namespace chromeos | 186 } // namespace chromeos |
190 | 187 |
191 #endif // CHROMEOS_DBUS_IBUS_IBUS_TEXT_H_ | 188 #endif // CHROMEOS_DBUS_IBUS_IBUS_TEXT_H_ |
OLD | NEW |