summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 00:31:21 +0000
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 00:31:21 +0000
commitad0783f91c1436785e7de77dbfd8e78fed2d2c9f (patch)
treeb0d35aeb499082a1cb5442282d3aa5f47d7a6061 /views/widget
parentf2fa809160bae2805090f57b76dc64893f87ceb1 (diff)
downloadchromium_src-ad0783f91c1436785e7de77dbfd8e78fed2d2c9f.zip
chromium_src-ad0783f91c1436785e7de77dbfd8e78fed2d2c9f.tar.gz
chromium_src-ad0783f91c1436785e7de77dbfd8e78fed2d2c9f.tar.bz2
Always show keyboard when an editable element is touched.
BUG=none TEST=manually Review URL: http://codereview.chromium.org/7244002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/root_view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/widget/root_view.h b/views/widget/root_view.h
index 7ab3755..733988c 100644
--- a/views/widget/root_view.h
+++ b/views/widget/root_view.h
@@ -130,6 +130,12 @@ class RootView : public View,
virtual const ui::Compositor* GetCompositor() const OVERRIDE;
virtual ui::Compositor* GetCompositor() OVERRIDE;
+#if defined(TOUCH_UI)
+ View* touch_pressed_handler() const {
+ return touch_pressed_handler_;
+ }
+#endif
+
private:
friend class View;
friend class Widget;