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

Unified Diff: chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/ui/views/reload_button_unittest.cc ('k') | chrome/browser/ui/views/tabs/base_tab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc
===================================================================
--- chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc (revision 151406)
+++ chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc (working copy)
@@ -69,7 +69,9 @@
// 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 views::MouseEvent event(ui::ET_MOUSE_PRESSED, 0, 0, 0);
+ const ui::MouseEvent event(ui::ET_MOUSE_PRESSED,
+ gfx::Point(), gfx::Point(),
+ 0);
listener->ButtonPressed(view->ok_button_, event);
// View should no longer be showing. The message loop will exit once the
@@ -88,7 +90,9 @@
// 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 views::MouseEvent event(ui::ET_MOUSE_PRESSED, 0, 0, 0);
+ const ui::MouseEvent event(ui::ET_MOUSE_PRESSED,
+ gfx::Point(), gfx::Point(),
+ 0);
listener->ButtonPressed(view->undo_button_, event);
// View should no longer be showing. The message loop will exit once the
« no previous file with comments | « chrome/browser/ui/views/reload_button_unittest.cc ('k') | chrome/browser/ui/views/tabs/base_tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698