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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window_controller_impl.h

Issue 11857008: Remove InputMethodLookupTable and use IBusLookupTable instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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
Index: chrome/browser/chromeos/input_method/candidate_window_controller_impl.h
diff --git a/chrome/browser/chromeos/input_method/candidate_window_controller_impl.h b/chrome/browser/chromeos/input_method/candidate_window_controller_impl.h
index 843f7381a75f8d46dced8f7f67ed65bb27782277..e6266bf98a94aa32bca3df69b1bef3c071d90fff 100644
--- a/chrome/browser/chromeos/input_method/candidate_window_controller_impl.h
+++ b/chrome/browser/chromeos/input_method/candidate_window_controller_impl.h
@@ -18,6 +18,10 @@ class Widget;
} // namespace views
namespace chromeos {
+// TODO(nona): remove ibus namespace
+namespace ibus {
+class IBusLookupTable;
+} // namespace ibus
namespace input_method {
class DelayableWidget;
@@ -56,7 +60,7 @@ class CandidateWindowControllerImpl : public CandidateWindowController,
// Converts |lookup_table| to infolist entries. |focused_index| become
// InfolistWindowView::InvalidFocusIndex if there is no selected entries.
static void ConvertLookupTableToInfolistEntry(
- const InputMethodLookupTable& lookup_table,
+ const ibus::IBusLookupTable& lookup_table,
std::vector<InfolistWindowView::Entry>* infolist_entries,
size_t* focused_index);
@@ -86,7 +90,8 @@ class CandidateWindowControllerImpl : public CandidateWindowController,
virtual void OnUpdateAuxiliaryText(const std::string& utf8_text,
bool visible) OVERRIDE;
virtual void OnUpdateLookupTable(
- const InputMethodLookupTable& lookup_table) OVERRIDE;
+ const ibus::IBusLookupTable& lookup_table,
+ bool visible) OVERRIDE;
virtual void OnUpdatePreeditText(const std::string& utf8_text,
unsigned int cursor, bool visible) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698