summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/candidate_view.h
diff options
context:
space:
mode:
authorkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-22 18:18:03 +0000
committerkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-22 18:18:03 +0000
commitff366d2a4a888d41c894fa710c26e2e97c137071 (patch)
treec9eb2f43195d7796cbd4dc195387943ea08db04a /chrome/browser/chromeos/input_method/candidate_view.h
parent07f688a5eecaf654beda48105a4c09f6a56b60db (diff)
downloadchromium_src-ff366d2a4a888d41c894fa710c26e2e97c137071.zip
chromium_src-ff366d2a4a888d41c894fa710c26e2e97c137071.tar.gz
chromium_src-ff366d2a4a888d41c894fa710c26e2e97c137071.tar.bz2
Make ChromeOS IME candidate window touch-aware.
BUG=173153 TEST=run IME composition and select a candidate by tapping. Review URL: https://chromiumcodereview.appspot.com/12317066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/candidate_view.h')
-rw-r--r--chrome/browser/chromeos/input_method/candidate_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/input_method/candidate_view.h b/chrome/browser/chromeos/input_method/candidate_view.h
index 5b60b60..823bc65 100644
--- a/chrome/browser/chromeos/input_method/candidate_view.h
+++ b/chrome/browser/chromeos/input_method/candidate_view.h
@@ -61,6 +61,10 @@ class CandidateView : public views::View {
FRIEND_TEST_ALL_PREFIXES(CandidateWindowViewTest, ShortcutSettingTest);
// Overridden from View:
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
+ virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
+
+ // Selects the candidate located at the point.
+ void SelectCandidateAt(const gfx::Point& location);
// Notifies labels of their new background colors. Called whenever the view's
// background color changes.