Chromium Code Reviews| Index: chromeos/dbus/ibus/ibus_text.h |
| diff --git a/chromeos/dbus/ibus/ibus_text.h b/chromeos/dbus/ibus/ibus_text.h |
| index 6010b129890e61dd68e406828bf4df5c14ff3380..d4d3fdb57825b2665839104f1a3d845aad1af91b 100644 |
| --- a/chromeos/dbus/ibus/ibus_text.h |
| +++ b/chromeos/dbus/ibus/ibus_text.h |
| @@ -82,10 +82,20 @@ class IBusText; |
| // Returns false if an error occures. |
| bool CHROMEOS_EXPORT PopIBusText(dbus::MessageReader* reader, |
| IBusText* ibus_text); |
| +// Pops a IBusText from |reader| and stores it's text field into text. Use |
| +// PopIBusText instead in the case of using any attribute entries in IBusText. |
| +// Return false if an error occures. |
|
satorux1
2012/05/18 01:11:06
// Returns true on success.
Seigo Nonaka
2012/05/18 01:18:43
Done.
|
| +bool CHROMEOS_EXPORT PopStringFromIBusText(dbus::MessageReader* reader, |
| + std::string* text); |
| // Appends a IBusText to |writer|. |
| void CHROMEOS_EXPORT AppendIBusText(const IBusText& ibus_text, |
| dbus::MessageWriter* writer); |
| +// Appends a string to |writer| as IBusText without any attributes. Use |
| +// AppendIBusText instead in the case of using any attribute entries. |
| +void CHROMEOS_EXPORT AppendStringAsIBusText(const std::string& text, |
| + dbus::MessageWriter* writer); |
| + |
| // Handles IBusText object which is used in dbus communication with ibus-daemon. |
| // The IBusAttribute has four uint32 variables and the IBusAttributes represents |
| // three type of decoration based on it's values. |