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

Issue 63145: Copy text selection from renderer to browser every time it changes. (Closed)

Created:
11 years, 8 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Copy text selection from renderer to browser every time it changes. BUG=9848 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13396

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -127 lines) Patch
M chrome/browser/renderer_host/render_view_host.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 1 1 chunk +1 line, -4 lines 1 comment Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.h View 1 3 chunks +1 line, -20 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_gtk.cc View 1 5 chunks +4 lines, -73 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 chunks +1 line, -8 lines 0 comments Download
M chrome/renderer/render_view.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 3 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Evan Stade
This is solution (d). Anecdotally it doesn't make drag-selecting a huge document[1] any slower, because ...
11 years, 8 months ago (2009-04-08 23:17:22 UTC) #1
tony
Wow, it really is already painfully slow. LGTM. On 2009/04/08 23:17:22, estade wrote: > This ...
11 years, 8 months ago (2009-04-09 00:11:58 UTC) #2
darin (slow to review)
11 years, 8 months ago (2009-04-09 05:00:27 UTC) #3
LGTM

if this proves to be unbearable, maybe the approach of using SendWithTimeout
should be reconsidered?

http://codereview.chromium.org/63145/diff/1002/18
File chrome/browser/renderer_host/render_widget_host_view.h (right):

http://codereview.chromium.org/63145/diff/1002/18#newcode116
Line 116: virtual void SelectionChanged(const std::string& text) { };
nit: no need for trailing ';'

Powered by Google App Engine
This is Rietveld 408576698