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

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

Issue 2786693002: Add PointerDetails to ui::MouseEvent's constructors (Closed)
Patch Set: mouse event constructor Created 3 years, 9 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 ad6e2e2825054be2a2d650fe5e312cc9a1dd0907..8a396edad4118d11a711155e0f269ab92c1899ff 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::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
static_cast<views::View*>(view_)->OnMouseMoved(mouse_down);
}

Powered by Google App Engine
This is Rietveld 408576698