Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Unified Diff: ui/views/events/event.h

Issue 10790019: Add gesture target fuzzing to views (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Patch with unit tests Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/events/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/events/event.h
diff --git a/ui/views/events/event.h b/ui/views/events/event.h
index 433d5cfd74c9ece7d8cd5e507db4a95ea383d53b..3bf10b50042f674b0c08798d2b75160dc50a8fde 100644
--- a/ui/views/events/event.h
+++ b/ui/views/events/event.h
@@ -435,6 +435,11 @@ class VIEWS_EXPORT GestureEvent : public LocatedEvent,
protected:
GestureEvent(ui::EventType type, int x, int y, int flags);
+ GestureEvent(ui::EventType type,
+ int x,
+ int y,
+ int flags,
+ ui::GestureEventDetails details);
private:
sadrul 2012/08/01 16:05:33 Instead of adding the constructors, you can add a
tdanderson 2012/08/01 18:22:39 Done.
friend class internal::RootView;
@@ -452,6 +457,11 @@ class VIEWS_EXPORT GestureEvent : public LocatedEvent,
class VIEWS_EXPORT GestureEventForTest : public GestureEvent {
public:
GestureEventForTest(ui::EventType type, int x, int y, int flags);
+ GestureEventForTest(ui::EventType type,
+ int x,
+ int y,
+ int flags,
+ ui::GestureEventDetails details);
private:
DISALLOW_COPY_AND_ASSIGN(GestureEventForTest);
« no previous file with comments | « no previous file | ui/views/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698