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

Issue 335023: Add the feature "Add as seach engine..." when right clicking on ... (Closed)

Created:
11 years, 2 months ago by Philippe Beauchamp
Modified:
7 years, 5 months ago
CC:
chromium-reviews, brettw+cc_chromium.org, darin (slow to review), ben+cc_chromium.org
Visibility:
Public.

Description

Add the feature "Add as seach engine..." when right clicking on a form text field. Note: POST forms are not supported with this patch BUG=6872 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91253

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Total comments: 26

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Total comments: 12

Patch Set 6 : '' #

Total comments: 3

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 8

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +41 lines, -0 lines 0 comments Download
M chrome/common/automation_messages.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/automation_messages.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/context_menu.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/context_menu.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 43 (0 generated)
Philippe Beauchamp
Draft of the "Add as search engine" feature. Please tell me if the approach is ...
11 years, 1 month ago (2009-10-26 17:41:26 UTC) #1
Peter Kasting
You beat me to this, I was refactoring the searchable form data code last week ...
11 years, 1 month ago (2009-10-26 17:51:35 UTC) #2
sky
I agree with Peter, all those restrictions aren't applicable when users is explicitly creating a ...
11 years, 1 month ago (2009-10-26 22:23:39 UTC) #3
Philippe Beauchamp
Ok, thanks. I will work on an updated patch for next weekend. I'm not working ...
11 years, 1 month ago (2009-10-27 15:20:37 UTC) #4
Philippe Beauchamp
Updated patch. (Sorry, still some style errors remaining) Is the approach for WebSearchableFormData.cpp looks ok? ...
11 years, 1 month ago (2009-11-09 18:20:10 UTC) #5
Peter Kasting
http://codereview.chromium.org/335023/diff/6001/7006 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/6001/7006#newcode760 Line 760: TemplateURL *tpl = new TemplateURL(); Nit: * on ...
11 years, 1 month ago (2009-11-09 18:48:45 UTC) #6
Philippe Beauchamp
Updated Patch On 2009/11/09 18:48:45, Peter Kasting wrote: > http://codereview.chromium.org/335023/diff/6001/7006 > File chrome/browser/tab_contents/render_view_context_menu.cc (right): > ...
11 years, 1 month ago (2009-11-23 05:00:12 UTC) #7
Peter Kasting
http://codereview.chromium.org/335023/diff/9001/10002 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/9001/10002#newcode473 chrome/browser/tab_contents/render_view_context_menu.cc:473: case IDS_CONTENT_CONTEXT_ADDSEARCHENGINE: Your cases above fall through into this. ...
11 years, 1 month ago (2009-11-23 19:59:47 UTC) #8
Philippe Beauchamp
http://codereview.chromium.org/335023/diff/9001/10002 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/9001/10002#newcode473 chrome/browser/tab_contents/render_view_context_menu.cc:473: case IDS_CONTENT_CONTEXT_ADDSEARCHENGINE: On 2009/11/23 19:59:47, Peter Kasting wrote: > ...
11 years ago (2009-11-28 18:05:48 UTC) #9
Peter Kasting
It doesn't look like you actually uploaded your newest patch?
11 years ago (2009-11-30 22:37:46 UTC) #10
Philippe Beauchamp
I wanted to have your comments before sending a new patch regarding the refactoring of ...
11 years ago (2009-11-30 23:51:42 UTC) #11
Peter Kasting
TemplateURL stuff is probably better reviewed by Scott. I would go ahead and upload a ...
11 years ago (2009-11-30 23:56:49 UTC) #12
sky
Let me know when you do and I'll take a look at the TemplateURL side. ...
11 years ago (2009-11-30 23:59:18 UTC) #13
Philippe Beauchamp
Updated Patch On 2009/11/30 23:59:18, sky wrote: > Let me know when you do and ...
11 years ago (2009-12-01 02:06:48 UTC) #14
Philippe Beauchamp
http://codereview.chromium.org/335023/diff/15002/15004 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/15002/15004#newcode756 chrome/browser/tab_contents/render_view_context_menu.cc:756: case IDS_CONTENT_CONTEXT_ADDSEARCHENGINE: { Scott, here is the section about ...
11 years ago (2009-12-03 19:52:33 UTC) #15
sky
http://codereview.chromium.org/335023/diff/15002/15004 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/15002/15004#newcode756 chrome/browser/tab_contents/render_view_context_menu.cc:756: case IDS_CONTENT_CONTEXT_ADDSEARCHENGINE: { On 2009/12/03 19:52:33, Philippe Beauchamp wrote: ...
11 years ago (2009-12-03 20:27:08 UTC) #16
Peter Kasting
Going through my old reviews, I see nothing ever happened on this. Not sure whether ...
10 years, 5 months ago (2010-07-27 19:19:26 UTC) #17
sky
On 2010/07/27 19:19:26, Peter Kasting wrote: > Going through my old reviews, I see nothing ...
10 years, 4 months ago (2010-08-02 17:01:33 UTC) #18
Philippe Beauchamp
Sorry for the delay. I started working on the issue but my priorities changed a ...
10 years, 4 months ago (2010-08-02 17:21:36 UTC) #19
Philippe Beauchamp
Scott, I would like to have your input for the case when a keyword already ...
10 years, 4 months ago (2010-08-23 04:19:36 UTC) #20
sky
I spoke with Glen a fair amount before implementing the current behavior and we discussed ...
10 years, 4 months ago (2010-08-23 16:15:34 UTC) #21
Philippe Beauchamp
This means that the current implementation should be ok? We simply generates a keyword and ...
10 years, 3 months ago (2010-08-27 05:32:50 UTC) #22
Philippe Beauchamp
http://codereview.chromium.org/335023/diff/48001/49003 File chrome/browser/views/edit_search_engine_dialog.cc (right): http://codereview.chromium.org/335023/diff/48001/49003#newcode72 chrome/browser/views/edit_search_engine_dialog.cc:72: contents->keyword_tf_->RequestFocus(); I changed the default focus to keyword instead ...
10 years, 3 months ago (2010-08-27 05:34:20 UTC) #23
sky
Yes. Are you ready for another review? -Scott On Thu, Aug 26, 2010 at 10:32 ...
10 years, 3 months ago (2010-08-27 15:39:51 UTC) #24
Philippe Beauchamp
Yes, I uploaded an updated version in sync with head earlier this week. On 8/27/10, ...
10 years, 3 months ago (2010-08-27 16:58:42 UTC) #25
sky
http://codereview.chromium.org/335023/diff/48001/49002 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/48001/49002#newcode39 chrome/browser/tab_contents/render_view_context_menu.cc:39: #include "chrome/browser/views/edit_search_engine_dialog.h" browser/views is only appropriate for windows and ...
10 years, 3 months ago (2010-08-30 16:31:46 UTC) #26
Philippe Beauchamp
http://codereview.chromium.org/335023/diff/48001/49002 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/48001/49002#newcode39 chrome/browser/tab_contents/render_view_context_menu.cc:39: #include "chrome/browser/views/edit_search_engine_dialog.h" I'm not sure how to handle and ...
10 years, 3 months ago (2010-09-07 02:25:21 UTC) #27
sky
http://codereview.chromium.org/335023/diff/48001/49002 File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/48001/49002#newcode39 chrome/browser/tab_contents/render_view_context_menu.cc:39: #include "chrome/browser/views/edit_search_engine_dialog.h" On 2010/09/07 02:25:22, Philippe Beauchamp wrote: > ...
10 years, 3 months ago (2010-09-08 15:57:51 UTC) #28
Philippe Beauchamp
Updated patch with changes. On 2010/09/08 15:57:51, sky wrote: > http://codereview.chromium.org/335023/diff/48001/49002 > File chrome/browser/tab_contents/render_view_context_menu.cc (right): ...
10 years, 3 months ago (2010-09-12 04:16:07 UTC) #29
sky
http://codereview.chromium.org/335023/diff/64001/65003 File chrome/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/335023/diff/64001/65003#newcode942 chrome/browser/tab_contents/tab_contents.cc:942: return; This leaks http://codereview.chromium.org/335023/diff/64001/65004 File chrome/browser/tab_contents/tab_contents.h (right): http://codereview.chromium.org/335023/diff/64001/65004#newcode375 chrome/browser/tab_contents/tab_contents.h:375: ...
10 years, 3 months ago (2010-09-16 21:47:13 UTC) #30
Peter Kasting
Scott, are you the right person to give the changes on https://bugs.webkit.org/show_bug.cgi?id=47980 a once-over? If ...
10 years, 2 months ago (2010-10-20 16:31:58 UTC) #31
sky
I added a comment to the review. -Scott On Wed, Oct 20, 2010 at 9:31 ...
10 years, 2 months ago (2010-10-20 19:16:47 UTC) #32
Peter Kasting
I pinged on the WK side because I don't want to see this issue die.
9 years, 8 months ago (2011-04-21 20:14:13 UTC) #33
Philippe Beauchamp
Hello Peter, I uploaded a new patch. Still a small style error, I'll change it ...
9 years, 6 months ago (2011-06-27 15:16:05 UTC) #34
Peter Kasting
LGTM http://codereview.chromium.org/335023/diff/111001/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/111001/chrome/browser/tab_contents/render_view_context_menu.cc#newcode1638 chrome/browser/tab_contents/render_view_context_menu.cc:1638: TemplateURLService* model = TemplateURLServiceFactory::GetForProfile( Nit: Breaking after '=' ...
9 years, 5 months ago (2011-06-29 18:08:22 UTC) #35
Philippe Beauchamp
Updated patch http://codereview.chromium.org/335023/diff/111001/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/335023/diff/111001/chrome/browser/tab_contents/render_view_context_menu.cc#newcode1638 chrome/browser/tab_contents/render_view_context_menu.cc:1638: TemplateURLService* model = TemplateURLServiceFactory::GetForProfile( On 2011/06/29 18:08:23, ...
9 years, 5 months ago (2011-06-29 23:47:10 UTC) #36
commit-bot: I haz the power
Presubmit check for 335023-114001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 5 months ago (2011-06-29 23:49:35 UTC) #37
Peter Kasting
jam, can you OWNER-LGTM this?
9 years, 5 months ago (2011-06-29 23:53:06 UTC) #38
brettw
view_messages LGTM
9 years, 5 months ago (2011-06-30 05:37:57 UTC) #39
commit-bot: I haz the power
Try job failure for 335023-114001 (retry) on linux for step "compile" (clobber build). It's a ...
9 years, 5 months ago (2011-06-30 18:34:52 UTC) #40
Peter Kasting
Philippe, I'm leaving this in your hands to fix try failures and retry checking the ...
9 years, 5 months ago (2011-06-30 21:46:16 UTC) #41
Philippe Beauchamp
ok, looks like the IDS_CONTENT_CONTEXT_ADDSEARCHENGINE string on linux and mac. On 2011/06/30 21:46:16, Peter Kasting ...
9 years, 5 months ago (2011-06-30 22:00:42 UTC) #42
commit-bot: I haz the power
9 years, 5 months ago (2011-07-01 01:55:51 UTC) #43
Change committed as 91253

Powered by Google App Engine
This is Rietveld 408576698