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..de5d3de595a39fc68afb3254e6741a4ccf70aa8e 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; |
+ |
+ // Copies |table| to myself. |
+ 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; } |