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

Unified Diff: content/public/test/text_input_test_utils.cc

Issue 2901093003: Revert of Update TextSelection for non-user initiated events (Closed)
Patch Set: Created 3 years, 7 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 | « content/public/test/text_input_test_utils.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/text_input_test_utils.cc
diff --git a/content/public/test/text_input_test_utils.cc b/content/public/test/text_input_test_utils.cc
index a14830a20dea8d0866d023db0974dc2ead863462..cbed2345122ed555231647ae60adcfa7fd1260e6 100644
--- a/content/public/test/text_input_test_utils.cc
+++ b/content/public/test/text_input_test_utils.cc
@@ -356,21 +356,6 @@
return true;
}
-bool TextInputManagerTester::GetTextSelectionUserInitiatedForView(
- RenderWidgetHostView* view,
- bool* user_initiated) {
- TextInputManager* manager = observer_->text_input_manager();
- DCHECK(manager);
-
- RenderWidgetHostViewBase* view_base =
- static_cast<RenderWidgetHostViewBase*>(view);
- if (!manager->IsRegistered(view_base))
- return false;
-
- *user_initiated = manager->GetTextSelection(view_base)->user_initiated();
- return true;
-}
-
bool TextInputManagerTester::IsTextInputStateChanged() {
return observer_->text_input_state_changed();
}
« no previous file with comments | « content/public/test/text_input_test_utils.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698