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

Issue 326026: Add "Go to..." to the context menu when the selected text in a page is a url... (Closed)

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

Description

Add "Go to..." to the context menu when the selected text in a page is a url. So when you select: "http://www.google.com" The context menu that will appear will be: "Go to http://www.google.com" Instead of: "Search Google for http://www.google.com" BUG=1978 TEST=open chromium, select a text that is a url, see if appears the menu "Go to..."; click on it, see if it goes to the desired page. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30685

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : fix for trybots errors #

Patch Set 7 : UTF16ToWide #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -24 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.h View 4 5 6 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 3 4 5 6 5 chunks +30 lines, -21 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
tfarina (gmail-do not use)
Hi Finnur, could you review this?
11 years, 1 month ago (2009-10-26 12:10:38 UTC) #1
Finnur
http://codereview.chromium.org/326026/diff/1/3 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/326026/diff/1/3#newcode492 Line 492: <message name="IDS_CONTENT_CONTEXT_GOTOURL" desc="The name of the Go to ...
11 years, 1 month ago (2009-10-26 16:04:26 UTC) #2
Peter Kasting
http://codereview.chromium.org/326026/diff/4001/5001 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/326026/diff/4001/5001#newcode227 Line 227: GURL url(selection_text); You're not doing any fixup, so ...
11 years, 1 month ago (2009-10-26 17:38:22 UTC) #3
tfarina (gmail-do not use)
On 2009/10/26 17:38:22, Peter Kasting wrote: > http://codereview.chromium.org/326026/diff/4001/5001 > File chrome/browser/tab_contents/render_view_context_menu.cc (right): > > http://codereview.chromium.org/326026/diff/4001/5001#newcode227 ...
11 years, 1 month ago (2009-10-26 18:08:25 UTC) #4
Peter Kasting
On 2009/10/26 18:08:25, tfarina wrote: > Could you give some direction how can I get ...
11 years, 1 month ago (2009-10-26 18:42:41 UTC) #5
tfarina (gmail-do not use)
On 2009/10/26 18:42:41, Peter Kasting wrote: > Refactoring to somewhere outside the AutocompleteEditView is definitely ...
11 years, 1 month ago (2009-10-26 19:19:32 UTC) #6
Peter Kasting
On 2009/10/26 19:19:32, tfarina wrote: > It's ok to put the new function in TabContents? ...
11 years, 1 month ago (2009-10-26 19:23:31 UTC) #7
tfarina (gmail-do not use)
On 2009/10/26 19:23:31, Peter Kasting wrote: > No, it doesn't make sense to add this ...
11 years, 1 month ago (2009-10-26 19:49:09 UTC) #8
Peter Kasting
On 2009/10/26 19:49:09, tfarina wrote: > Could be an anonymous namespace, with this function, in ...
11 years, 1 month ago (2009-10-26 20:33:38 UTC) #9
tfarina (gmail-do not use)
Now using the SearchVersusNavigateClassifier. Please take a look.
11 years, 1 month ago (2009-10-29 23:47:04 UTC) #10
Peter Kasting
http://codereview.chromium.org/326026/diff/12002/13002 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/326026/diff/12002/13002#newcode668 Line 668: <message name="IDS_CONTENT_CONTEXT_GOTOURL" desc="The name of the Go to ...
11 years, 1 month ago (2009-10-30 00:12:26 UTC) #11
tfarina (gmail-do not use)
Changes made Peter, please take a look. http://codereview.chromium.org/326026/diff/12002/13002 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/326026/diff/12002/13002#newcode668 Line 668: <message ...
11 years, 1 month ago (2009-10-30 23:50:39 UTC) #12
Peter Kasting
LGTM http://codereview.chromium.org/326026/diff/15002/19001 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/326026/diff/15002/19001#newcode232 Line 232: GURL destination_url; Nit: You don't need this ...
11 years, 1 month ago (2009-10-31 00:18:19 UTC) #13
tfarina (gmail-do not use)
http://codereview.chromium.org/326026/diff/15002/19001 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/326026/diff/15002/19001#newcode232 Line 232: GURL destination_url; On 2009/10/31 00:18:19, Peter Kasting wrote: ...
11 years, 1 month ago (2009-10-31 00:37:31 UTC) #14
Peter Kasting
Landed in r30656.
11 years, 1 month ago (2009-10-31 01:13:56 UTC) #15
Nico
Reverted in r30657.
11 years, 1 month ago (2009-10-31 05:21:44 UTC) #16
tfarina (gmail-do not use)
On 2009/10/31 05:21:44, Nico wrote: > Reverted in r30657. I looked into the buildbots errors ...
11 years, 1 month ago (2009-10-31 15:07:01 UTC) #17
tfarina (gmail-do not use)
I uploaded another fix for linux/mac errors. One conversion from string16 to wstring was missing.
11 years, 1 month ago (2009-10-31 17:34:06 UTC) #18
tfarina (gmail-do not use)
Peter, Nico, these are the trybots results. http://build.chromium.org/buildbot/try-server/buildstatus?builder=linux&number=6042 http://build.chromium.org/buildbot/try-server/buildstatus?builder=mac&number=6102 http://build.chromium.org/buildbot/try-server/buildstatus?builder=win&number=6375 The results are: linux - ...
11 years, 1 month ago (2009-11-01 16:53:16 UTC) #19
Nico
Ok. I sent it to the try servers again, let's see if windows passes this ...
11 years, 1 month ago (2009-11-01 18:02:10 UTC) #20
Nico
Win and Linux trybots came back fine, win timed out. I figured to give this ...
11 years, 1 month ago (2009-11-01 21:50:22 UTC) #21
Nico
…and landed for good in r30685. grd changes still guarantee interesting times, it seems.
11 years, 1 month ago (2009-11-02 06:23:05 UTC) #22
Peter Kasting
Since all the drama happened while I was at home, was the problem the whole ...
11 years, 1 month ago (2009-11-02 10:27:32 UTC) #23
Nico
11 years, 1 month ago (2009-11-02 14:30:33 UTC) #24
There was one real issue, the first commit had compile errors, and
something Thiago did fixed that.

The other problems were due to me not realizing that the windows test
bots grab the builds from two other bots that compile and package
chromium. Because I didn't know that, I clobbered the testers and not
the builders.

On Mon, Nov 2, 2009 at 3:27 AM,  <pkasting@chromium.org> wrote:
> Since all the drama happened while I was at home, was the problem the who=
le
> time
> just that the builders needed a clobber due to the .grd change? =A0Or was
> there
> also a compile error due to string16 issues? =A0Looking at the different
> patches
> it looks like the only change was what ought to be a useless use of strin=
g16
> (that just causes an extra string conversion), but maybe my in-my-head
> compiler
> doesn't match reality.
>
> http://codereview.chromium.org/326026
>

Powered by Google App Engine
This is Rietveld 408576698