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

Unified Diff: ui/base/test/ui_controls_aura.cc

Issue 2904113002: Replacing WM_TOUCH with WM_POINTER for touch events on Wins 8+ (Closed)
Patch Set: wm touch Created 3 years, 6 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 | « ui/base/test/ui_controls_aura.h ('k') | ui/base/test/ui_controls_internal_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/test/ui_controls_aura.cc
diff --git a/ui/base/test/ui_controls_aura.cc b/ui/base/test/ui_controls_aura.cc
index c8367ab803997d1303a8d92c110686a180e1b538..98fac1b20e27220745741da4f6b3408cc11f0a2d 100644
--- a/ui/base/test/ui_controls_aura.cc
+++ b/ui/base/test/ui_controls_aura.cc
@@ -75,6 +75,14 @@ bool SendMouseClick(MouseButton type) {
return instance_->SendMouseClick(type);
}
+#if defined(OS_WIN)
+// static
+bool SendTouchEvents(int action, int num, int x, int y) {
+ CHECK(g_ui_controls_enabled);
+ return instance_->SendTouchEvents(action, num, x, y);
+}
+#endif
+
// static
void RunClosureAfterAllPendingUIEvents(const base::Closure& closure) {
instance_->RunClosureAfterAllPendingUIEvents(closure);
« no previous file with comments | « ui/base/test/ui_controls_aura.h ('k') | ui/base/test/ui_controls_internal_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698