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

Unified Diff: views/events/event.h

Issue 8521001: Touch to Mouse conversion validation of views::GestureManager (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Incorporated gyp changes Created 9 years, 1 month 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 | views/test/test_event_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/events/event.h
diff --git a/views/events/event.h b/views/events/event.h
index a7b3620b08c92ae3fe470e467892fc988b23db67..e8156dde4314965518b77a835e386ebf35260d7f 100644
--- a/views/events/event.h
+++ b/views/events/event.h
@@ -109,6 +109,9 @@ class VIEWS_EXPORT Event {
}
void set_type(ui::EventType type) { type_ = type; }
+#if defined(TESTING)
+ void set_native_event(base::NativeEvent event) { native_event_= event; }
+#endif
private:
void operator=(const Event&);
« no previous file with comments | « no previous file | views/test/test_event_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698