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

Issue 115468: Only send SelectionChanged events when the selection has actually changed.... (Closed)

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

Description

Only send SelectionChanged events when the selection has actually changed. Webkit's giving us too many respondToChangedSelection calls, so we keep claiming the X clipboard which messes with selection in other programs and the omnibox. http://crbug.com/11956 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16321

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M chrome/renderer/render_view.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 chunk +12 lines, -1 line 2 comments Download

Messages

Total messages: 5 (0 generated)
Evan Stade
So if you navigate to facebook.com, the selection gets set to the email field (for ...
11 years, 7 months ago (2009-05-18 16:59:43 UTC) #1
Evan Stade
(fixing reviewers)
11 years, 7 months ago (2009-05-18 17:03:35 UTC) #2
darin (slow to review)
LGTM http://codereview.chromium.org/115468/diff/1/3 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/115468/diff/1/3#newcode2496 Line 2496: std::string this_selection = minor nit: "const std::string& ...
11 years, 7 months ago (2009-05-18 17:09:28 UTC) #3
Evan Stade
http://codereview.chromium.org/115468/diff/1/3 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/115468/diff/1/3#newcode2496 Line 2496: std::string this_selection = On 2009/05/18 17:09:28, darin wrote: ...
11 years, 7 months ago (2009-05-18 17:14:23 UTC) #4
darin (slow to review)
11 years, 7 months ago (2009-05-18 18:29:09 UTC) #5
It just avoids a temporary string copy, perhaps only in debug builds.  That's
why I wrote minor nit ;-)

Powered by Google App Engine
This is Rietveld 408576698