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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.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
Index: content/browser/renderer_host/render_widget_host_view_base.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
index 7c5a74835cb32c6418dc6b0003554134095ebe94..66e549f010161c11e45898c4d49abe7bd1451209 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
@@ -119,12 +119,9 @@
void RenderWidgetHostViewBase::SelectionChanged(const base::string16& text,
size_t offset,
- const gfx::Range& range,
- bool user_initiated) {
- if (GetTextInputManager()) {
- GetTextInputManager()->SelectionChanged(this, text, offset, range,
- user_initiated);
- }
+ const gfx::Range& range) {
+ if (GetTextInputManager())
+ GetTextInputManager()->SelectionChanged(this, text, offset, range);
}
gfx::Size RenderWidgetHostViewBase::GetRequestedRendererSize() const {

Powered by Google App Engine
This is Rietveld 408576698