Chromium Code Reviews| Index: chromeos/dbus/ibus/ibus_lookup_table.h |
| diff --git a/chromeos/dbus/ibus/ibus_lookup_table.h b/chromeos/dbus/ibus/ibus_lookup_table.h |
| index 6fcc64a6db521360959e372e64b5c2b51522404a..d59de6303b5cb7ab8ced07befad3061c830d1d78 100644 |
| --- a/chromeos/dbus/ibus/ibus_lookup_table.h |
| +++ b/chromeos/dbus/ibus/ibus_lookup_table.h |
| @@ -82,8 +82,8 @@ void CHROMEOS_EXPORT AppendIBusLookupTable(const IBusLookupTable& table, |
| class CHROMEOS_EXPORT IBusLookupTable { |
| public: |
| enum Orientation { |
| - IBUS_LOOKUP_TABLE_ORIENTATION_HORIZONTAL = 0, |
| - IBUS_LOOKUP_TABLE_ORIENTATION_VERTICAL = 1, |
| + HORIZONTAL = 0, |
| + VERTICAL = 1, |
| }; |
| // Represents a candidate entry. In dbus communication, each |
| @@ -102,6 +102,12 @@ class CHROMEOS_EXPORT IBusLookupTable { |
| IBusLookupTable(); |
| virtual ~IBusLookupTable(); |
| + // Returns true if the given |table| is equal to myself. |
| + bool IsEqual(const IBusLookupTable& table) const; |
| + |
| + // Copy |table| to myself. |
|
satorux1
2013/01/15 23:58:47
Copies
Seigo Nonaka
2013/01/16 01:25:24
Done.
|
| + void CopyFrom(const IBusLookupTable& table); |
| + |
| // Returns the number of candidates in one page. |
| uint32 page_size() const { return page_size_; } |
| void set_page_size(uint32 page_size) { page_size_ = page_size; } |