summaryrefslogtreecommitdiffstats
path: root/views/widget/root_view.h
diff options
context:
space:
mode:
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-08 15:25:02 +0000
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-08 15:25:02 +0000
commita9f090b9d48e668ec4e155b247b2d7fe25fe0f01 (patch)
treef570bfbe5647f6c5da680a9195f893eed6c420c2 /views/widget/root_view.h
parentcda29aaf8f48ceb7fcdcbf8b02691e8c393600fc (diff)
downloadchromium_src-a9f090b9d48e668ec4e155b247b2d7fe25fe0f01.zip
chromium_src-a9f090b9d48e668ec4e155b247b2d7fe25fe0f01.tar.gz
chromium_src-a9f090b9d48e668ec4e155b247b2d7fe25fe0f01.tar.bz2
Fix the bug of the hide key on Omnibox.
Fix a bug of hide key where the keyboard does now show up after the hide key is pressed while Omnibox has the focus and Omnibox is touched. I changed the way of retrieving the text input type to use InputMethod::GetTextInputType rather than TextInputClient::GetTextInputType because NULL is always set to touch_pressed_handler when omnibox is touched. I also added code to check the touch event type so that the notification is sent only when text element is touched. BUG=none TEST=manually Review URL: http://codereview.chromium.org/7324029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/root_view.h')
-rw-r--r--views/widget/root_view.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/views/widget/root_view.h b/views/widget/root_view.h
index e46087c..cbee30f 100644
--- a/views/widget/root_view.h
+++ b/views/widget/root_view.h
@@ -127,8 +127,6 @@ class RootView : public View,
virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
View** ancestor) OVERRIDE;
- View* touch_pressed_handler() const { return touch_pressed_handler_; }
-
private:
friend class View;
friend class Widget;