summaryrefslogtreecommitdiffstats
path: root/views/events/event.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 23:43:26 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 23:43:26 +0000
commitcd446c6cb4acd4afba06e18c0b84f6f8e1ba2ca3 (patch)
treed0d41dd262a3d4a069f37651a4e640ba39f1390f /views/events/event.h
parentbaff1d0461a2d10eb9f99b64d3fd724e7b363a44 (diff)
downloadchromium_src-cd446c6cb4acd4afba06e18c0b84f6f8e1ba2ca3.zip
chromium_src-cd446c6cb4acd4afba06e18c0b84f6f8e1ba2ca3.tar.gz
chromium_src-cd446c6cb4acd4afba06e18c0b84f6f8e1ba2ca3.tar.bz2
Fix a few issues with touch-events and views-desktop.
* Activate a widget when it is touched. * Drop a synthetic mouse event on the toplevel widget instead of the immediate parent widget. * Send touch-events to the captured view if there is one. BUG=none TEST=manually Review URL: http://codereview.chromium.org/7540002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/events/event.h')
-rw-r--r--views/events/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/events/event.h b/views/events/event.h
index 07a86b0..c0fabbb 100644
--- a/views/events/event.h
+++ b/views/events/event.h
@@ -273,6 +273,7 @@ class VIEWS_API TouchEvent : public LocatedEvent {
float force() const { return force_; }
private:
+ friend class internal::NativeWidgetView;
friend class internal::RootView;
TouchEvent(const TouchEvent& model, View* root);