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

Unified Diff: content/browser/web_contents/touch_editable_impl_aura_browsertest.cc

Issue 759433002: Reland: Move TouchSelectionController from content to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Excluded ui/touch_selection from Windows GN build Created 6 years 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 | « content/browser/web_contents/touch_editable_impl_aura.cc ('k') | content/content.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/touch_editable_impl_aura_browsertest.cc
diff --git a/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc b/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc
index dad49cda893d430f9975d0e52582b94f483eeb0c..b67aa5501bb6eee2e3d6f091b0b80ba160c94fcb 100644
--- a/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc
+++ b/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc
@@ -204,8 +204,8 @@ IN_PROC_BROWSER_TEST_F(TouchEditableImplAuraTest,
touch_editable->Reset();
ui::SelectionBound anchor, focus;
touch_editable->GetSelectionEndPoints(&anchor, &focus);
- int handle_grab_x = bounds.x() + anchor.edge_bottom.x();
- int handle_grab_y = bounds.y() + anchor.edge_bottom.y() + 1;
+ int handle_grab_x = bounds.x() + anchor.edge_bottom_rounded().x();
+ int handle_grab_y = bounds.y() + anchor.edge_bottom_rounded().y() + 1;
generator.GestureScrollSequence(
gfx::Point(handle_grab_x, handle_grab_y),
gfx::Point(handle_grab_x + 20, handle_grab_y),
« no previous file with comments | « content/browser/web_contents/touch_editable_impl_aura.cc ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698