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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.cc

Issue 1260453006: ui: events: Add a class to hold common touch and stylus properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address build problems, add accessor and unit tests. Created 5 years, 4 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: chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.cc
index 6e4e644d1c628db2d60998d045de57fc28a0b117..978f30fec29c637689a1656bebecc40501127dac 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.cc
@@ -25,8 +25,9 @@ PasswordGenerationPopupViewTesterViews::
void PasswordGenerationPopupViewTesterViews::SimulateMouseMovementAt(
const gfx::Point& point) {
- ui::MouseEvent mouse_down(ui::ET_MOUSE_MOVED, point, gfx::Point(0, 0),
- ui::EventTimeForNow(), 0, 0);
+ ui::MouseEvent mouse_down(
+ ui::ET_MOUSE_MOVED, point, gfx::Point(0, 0), ui::EventTimeForNow(), 0, 0,
+ ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
static_cast<views::View*>(view_)->OnMouseMoved(mouse_down);
}

Powered by Google App Engine
This is Rietveld 408576698