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

Unified Diff: ash/launcher/launcher_view_unittest.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 | « ash/launcher/launcher_button.cc ('k') | ash/shell/window_type_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view_unittest.cc
===================================================================
--- ash/launcher/launcher_view_unittest.cc (revision 151406)
+++ ash/launcher/launcher_view_unittest.cc (working copy)
@@ -271,16 +271,14 @@
ui::MouseEvent click_event(ui::ET_MOUSE_PRESSED,
button->bounds().origin(),
button->bounds().origin(), 0);
- views::MouseEvent views_click_event(&click_event);
- button_host->PointerPressedOnButton(button, pointer, views_click_event);
+ button_host->PointerPressedOnButton(button, pointer, click_event);
// Drag.
views::View* destination = test_api_->GetButton(destination_index);
ui::MouseEvent drag_event(ui::ET_MOUSE_DRAGGED,
destination->bounds().origin(),
destination->bounds().origin(), 0);
- views::MouseEvent views_drag_event(&drag_event);
- button_host->PointerDraggedOnButton(button, pointer, views_drag_event);
+ button_host->PointerDraggedOnButton(button, pointer, drag_event);
return button;
}
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/shell/window_type_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698