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

Issue 343081: Fix a problem in the implementation of search-vs.-go-in-context-menus. We we... (Closed)

Created:
11 years, 1 month ago by Peter Kasting
Modified:
9 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, ben+cc_chromium.org, tfarina (gmail-do not use)
Visibility:
Public.

Description

Fix a problem in the implementation of search-vs.-go-in-context-menus. We were eliding the text before passing it to the classifier, resulting in wrong destination URLs for elided strings. This also eliminates a couple string conversions and shortens the EscapeAmpersand() algorithm. BUG=1978 TEST=Highlight a long string in a page. Right-click it. Verify the string is elided in the context menu. Click the search entry. Verify the string you searched for is not elided. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30745

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -35 lines) Patch
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 2 chunks +20 lines, -35 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Peter Kasting
11 years, 1 month ago (2009-11-02 19:47:09 UTC) #1
Nico
LG http://codereview.chromium.org/343081/diff/3001/3002 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/343081/diff/3001/3002#newcode208 Line 208: params_.selection_text, std::wstring(), &is_search, You probably still need ...
11 years, 1 month ago (2009-11-02 20:39:03 UTC) #2
Nico
11 years, 1 month ago (2009-11-02 22:29:16 UTC) #3
tfarina: FYI

Powered by Google App Engine
This is Rietveld 408576698