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

Unified Diff: ash/launcher/launcher_view_unittest.cc

Issue 23506029: Enabling the new drag off shellf feature by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary log statement Created 7 years, 3 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/ash_switches.cc ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view_unittest.cc
diff --git a/ash/launcher/launcher_view_unittest.cc b/ash/launcher/launcher_view_unittest.cc
index 6c434043afba84b71efebf9d48228919cf677da6..cb4dc9a96cb234c60b61a45a74a2039264099742 100644
--- a/ash/launcher/launcher_view_unittest.cc
+++ b/ash/launcher/launcher_view_unittest.cc
@@ -324,7 +324,7 @@ class LauncherViewTest : public AshTestBase {
views::View* button = test_api_->GetButton(button_index);
ui::MouseEvent click_event(ui::ET_MOUSE_PRESSED,
button->bounds().origin(),
- button->bounds().origin(), 0);
+ button->GetBoundsInScreen().origin(), 0);
button_host->PointerPressedOnButton(button, pointer, click_event);
return button;
}
@@ -349,7 +349,7 @@ class LauncherViewTest : public AshTestBase {
views::View* destination = test_api_->GetButton(destination_index);
ui::MouseEvent drag_event(ui::ET_MOUSE_DRAGGED,
destination->bounds().origin(),
- destination->bounds().origin(), 0);
+ destination->GetBoundsInScreen().origin(), 0);
button_host->PointerDraggedOnButton(button, pointer, drag_event);
return button;
}
« no previous file with comments | « ash/ash_switches.cc ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698