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

Unified Diff: ui/aura/test/ui_controls_factory_aurawin.cc

Issue 2904113002: Replacing WM_TOUCH with WM_POINTER for touch events on Wins 8+ (Closed)
Patch Set: Add a browser test 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
Index: ui/aura/test/ui_controls_factory_aurawin.cc
diff --git a/ui/aura/test/ui_controls_factory_aurawin.cc b/ui/aura/test/ui_controls_factory_aurawin.cc
index 7d1d2bbe4ef0775eb35aebeb574398c83168822e..3f4e82084a83c51bc39dbc5ca116e607be13da3b 100644
--- a/ui/aura/test/ui_controls_factory_aurawin.cc
+++ b/ui/aura/test/ui_controls_factory_aurawin.cc
@@ -75,6 +75,9 @@ class UIControlsWin : public UIControlsAura {
bool SendMouseClick(MouseButton type) override {
return SendMouseEvents(type, UP | DOWN);
}
+ bool SendTouchEvents(int action, int num, long x, long y) override {
+ return SendTouchEventsImpl(action, num, x, y, base::Closure());
+ }
void RunClosureAfterAllPendingUIEvents(
const base::Closure& closure) override {
// On windows, posting UI events is synchronous so just post the closure.

Powered by Google App Engine
This is Rietveld 408576698