| Index: chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc
|
| diff --git a/chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc b/chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc
|
| index 346697842072de70ab5e32e77d6844256022a7ef..00f2585b7836f2ee5c89da6015314d6be8187728 100644
|
| --- a/chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc
|
| +++ b/chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc
|
| @@ -147,8 +147,9 @@ TEST_F(OneClickSigninBubbleViewTest, BubbleOkButton) {
|
| // Simulate pressing the OK button. Set the message loop in the bubble
|
| // view so that it can be quit once the bubble is hidden.
|
| views::ButtonListener* listener = view;
|
| - const ui::MouseEvent event(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(),
|
| - ui::EventTimeForNow(), 0, 0);
|
| + const ui::MouseEvent event(
|
| + ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), ui::EventTimeForNow(),
|
| + 0, 0, ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| listener->ButtonPressed(view->ok_button_, event);
|
|
|
| // View should no longer be showing. The message loop will exit once the
|
| @@ -164,8 +165,9 @@ TEST_F(OneClickSigninBubbleViewTest, DialogOkButton) {
|
| // Simulate pressing the OK button. Set the message loop in the bubble
|
| // view so that it can be quit once the bubble is hidden.
|
| views::ButtonListener* listener = view;
|
| - const ui::MouseEvent event(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(),
|
| - ui::EventTimeForNow(), 0, 0);
|
| + const ui::MouseEvent event(
|
| + ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), ui::EventTimeForNow(),
|
| + 0, 0, ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| listener->ButtonPressed(view->ok_button_, event);
|
|
|
| // View should no longer be showing and sync should start
|
| @@ -183,8 +185,9 @@ TEST_F(OneClickSigninBubbleViewTest, DialogUndoButton) {
|
| // Simulate pressing the undo button. Set the message loop in the bubble
|
| // view so that it can be quit once the bubble is hidden.
|
| views::ButtonListener* listener = view;
|
| - const ui::MouseEvent event(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(),
|
| - ui::EventTimeForNow(), 0, 0);
|
| + const ui::MouseEvent event(
|
| + ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), ui::EventTimeForNow(),
|
| + 0, 0, ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| listener->ButtonPressed(view->undo_button_, event);
|
|
|
| // View should no longer be showing. The message loop will exit once the
|
|
|