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

Unified Diff: ui/touch_selection/touch_selection_controller_unittest.cc

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased after addition of touch_handle_orientation file Created 5 years, 10 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
Index: ui/touch_selection/touch_selection_controller_unittest.cc
diff --git a/ui/touch_selection/touch_selection_controller_unittest.cc b/ui/touch_selection/touch_selection_controller_unittest.cc
index bc8a0bc9f8659dfae14673cbf8a6e85e66694b13..b2875cc7b9eb7ab41c2a19acc9b570eb8235995a 100644
--- a/ui/touch_selection/touch_selection_controller_unittest.cc
+++ b/ui/touch_selection/touch_selection_controller_unittest.cc
@@ -117,7 +117,7 @@ class TouchSelectionControllerTest : public testing::Test,
void SetDraggingEnabled(bool enabled) { dragging_enabled_ = enabled; }
void ClearSelection() {
- controller_->OnSelectionBoundsChanged(SelectionBound(),
+ controller_->OnSelectionBoundsUpdated(SelectionBound(),
SelectionBound());
}
@@ -128,7 +128,7 @@ class TouchSelectionControllerTest : public testing::Test,
bound.set_type(SelectionBound::CENTER);
bound.SetEdge(rect.origin(), rect.bottom_left());
bound.set_visible(visible);
- controller_->OnSelectionBoundsChanged(bound, bound);
+ controller_->OnSelectionBoundsUpdated(bound, bound);
}
void ChangeSelection(const gfx::RectF& start_rect,
@@ -142,7 +142,7 @@ class TouchSelectionControllerTest : public testing::Test,
end_bound.SetEdge(end_rect.origin(), end_rect.bottom_left());
start_bound.set_visible(start_visible);
end_bound.set_visible(end_visible);
- controller_->OnSelectionBoundsChanged(start_bound, end_bound);
+ controller_->OnSelectionBoundsUpdated(start_bound, end_bound);
}
void Animate() {

Powered by Google App Engine
This is Rietveld 408576698