summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/input_method_engine_interface.h
diff options
context:
space:
mode:
authorkomatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-27 10:08:39 +0000
committerkomatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-27 10:08:39 +0000
commit0863285f02c71d261dce76bf2d10c1f59ba1c4e5 (patch)
treede6ca96d7cec7c9bc16634b51554711c37c7a74f /chrome/browser/chromeos/input_method/input_method_engine_interface.h
parentfab185c43d0b5ab7d7813f1a70112087596a16dc (diff)
downloadchromium_src-0863285f02c71d261dce76bf2d10c1f59ba1c4e5.zip
chromium_src-0863285f02c71d261dce76bf2d10c1f59ba1c4e5.tar.gz
chromium_src-0863285f02c71d261dce76bf2d10c1f59ba1c4e5.tar.bz2
Delete redundant functions for auxiliary text.
This patch unifies: * IBusPanelCandidateWindowHandlerInterface::UpdateAuxiliaryText into UpdateLookupTable * InputMethodEngineInterface::SetCandidateWindowAuxText into SetCandidateWindowProperty * InputMethodEngineInterface::SetCandidateWindowAuxTextVisible into SetCandidateWindowProperty BUG=N/A Review URL: https://codereview.chromium.org/111333004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/input_method_engine_interface.h')
-rw-r--r--chrome/browser/chromeos/input_method/input_method_engine_interface.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_engine_interface.h b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
index 4fba077..8be354b 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine_interface.h
+++ b/chrome/browser/chromeos/input_method/input_method_engine_interface.h
@@ -111,6 +111,11 @@ class InputMethodEngineInterface : public IBusEngineHandlerInterface {
bool is_cursor_visible;
bool is_vertical;
bool show_window_at_composition;
+
+ // Auxiliary text is typically displayed in the footer of the candidate
+ // window.
+ std::string auxiliary_text;
+ bool is_auxiliary_text_visible;
};
struct SegmentInfo {
@@ -204,12 +209,6 @@ class InputMethodEngineInterface : public IBusEngineHandlerInterface {
// Show or hide the candidate window.
virtual bool SetCandidateWindowVisible(bool visible, std::string* error) = 0;
- // Set the text that appears as a label in the candidate window.
- virtual void SetCandidateWindowAuxText(const char* text) = 0;
-
- // Show or hide the extra text in the candidate window.
- virtual void SetCandidateWindowAuxTextVisible(bool visible) = 0;
-
// Set the list of entries displayed in the candidate window.
virtual bool SetCandidates(int context_id,
const std::vector<Candidate>& candidates,