Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: chromeos/dbus/ibus/ibus_lookup_table.h

Issue 11358033: Clean Up: Remove mozc.candidate attachment field handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/dbus/ibus/ibus_lookup_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c9a57e1e1712115305565f3c977369d5f4526cf4..d8abfd9e3abbd0af4150ad7d632a7f795e304c81 100644
--- a/chromeos/dbus/ibus/ibus_lookup_table.h
+++ b/chromeos/dbus/ibus/ibus_lookup_table.h
@@ -29,9 +29,8 @@ namespace ibus {
// string "IBusLookupTable"
// array [
// dict_entry (
-// string "mozc.candidates"
-// variant variant array of bytes [
-// 08 01 10 16 ...
+// string "window_show_at_composition"
+// variant variant boolean false
// ]
// )
// ]
@@ -123,12 +122,9 @@ class CHROMEOS_EXPORT IBusLookupTable {
const std::vector<Entry>& candidates() const { return candidates_; }
std::vector<Entry>* mutable_candidates() { return &candidates_; }
- const std::string& serialized_mozc_candidates_data() {
- return serialized_mozc_candidates_data_;
- }
- void set_serialized_mozc_candidates_data(
- const std::string& serialized_mozc_candidates_data) {
- serialized_mozc_candidates_data_ = serialized_mozc_candidates_data;
+ bool show_window_at_composition() { return show_window_at_composition_; }
+ void set_show_window_at_composition(bool show_window_at_composition) {
+ show_window_at_composition_ = show_window_at_composition;
}
private:
@@ -137,9 +133,7 @@ class CHROMEOS_EXPORT IBusLookupTable {
bool is_cursor_visible_;
Orientation orientation_;
std::vector<Entry> candidates_;
-
- // TODO(nona): Refine data structure(crbug.com/129403).
- std::string serialized_mozc_candidates_data_;
+ bool show_window_at_composition_;
DISALLOW_COPY_AND_ASSIGN(IBusLookupTable);
};
« no previous file with comments | « no previous file | chromeos/dbus/ibus/ibus_lookup_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698