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

Issue 15805002: Modify extension omnibox keywords to be user-configurable (Closed)

Created:
7 years, 7 months ago by Aaron Jacobs
Modified:
7 years, 6 months ago
Reviewers:
Devlin, cduvall, Peter Kasting, Dan Beam, samusaaron3
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org, Lei Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Modify extension omnibox keywords to be user-configurable Allows users to change extension omnibox keywords through the chrome://settings/searchEngines page, and prevents extensions from registering the same keywords. Images demonstrating UI change (new on top, old on bottom): http://imgur.com/a/SDTvD BUG=74643 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203855

Patch Set 1 #

Total comments: 20

Patch Set 2 : Devlin's requests #

Total comments: 13

Patch Set 3 : Peter's and Dan's requests #

Total comments: 8

Patch Set 4 : Test updates #

Total comments: 1

Messages

Total messages: 19 (0 generated)
Aaron Jacobs
Images demonstrating UI change (new on top, old on bottom): http://imgur.com/a/SDTvD
7 years, 7 months ago (2013-05-23 03:38:35 UTC) #1
Devlin
A test for this would also be cool. https://codereview.chromium.org/15805002/diff/1/chrome/browser/search_engines/template_url_service.cc File chrome/browser/search_engines/template_url_service.cc (right): https://codereview.chromium.org/15805002/diff/1/chrome/browser/search_engines/template_url_service.cc#newcode2126 chrome/browser/search_engines/template_url_service.cc:2126: existing_keyword_turl->short_name(), ...
7 years, 7 months ago (2013-05-24 02:42:54 UTC) #2
Aaron Jacobs
https://codereview.chromium.org/15805002/diff/1/chrome/browser/search_engines/template_url_service.cc File chrome/browser/search_engines/template_url_service.cc (right): https://codereview.chromium.org/15805002/diff/1/chrome/browser/search_engines/template_url_service.cc#newcode2126 chrome/browser/search_engines/template_url_service.cc:2126: existing_keyword_turl->short_name(), new_keyword, On 2013/05/24 02:42:54, D Cronin wrote: > ...
7 years, 7 months ago (2013-05-24 03:06:13 UTC) #3
Devlin
On 2013/05/24 03:06:13, Aaron Jacobs wrote: > https://codereview.chromium.org/15805002/diff/1/chrome/browser/search_engines/template_url_service.cc > File chrome/browser/search_engines/template_url_service.cc (right): > > https://codereview.chromium.org/15805002/diff/1/chrome/browser/search_engines/template_url_service.cc#newcode2126 ...
7 years, 6 months ago (2013-05-28 21:20:18 UTC) #4
Aaron Jacobs
7 years, 6 months ago (2013-05-29 20:41:42 UTC) #5
Aaron Jacobs
Dan: Owners for chrome/browser/resources/options/*, chrome/browser/ui/webui/options/* Peter: Owners for chrome/browser/search_engines/*, chrome/browser/ui/search_engines/*
7 years, 6 months ago (2013-05-29 20:42:48 UTC) #6
Peter Kasting
https://codereview.chromium.org/15805002/diff/9001/chrome/browser/search_engines/template_url_service.cc File chrome/browser/search_engines/template_url_service.cc (right): https://codereview.chromium.org/15805002/diff/9001/chrome/browser/search_engines/template_url_service.cc#newcode2112 chrome/browser/search_engines/template_url_service.cc:2112: } else { Nit: We shouldn't have else after ...
7 years, 6 months ago (2013-05-30 21:22:50 UTC) #7
Dan Beam
https://codereview.chromium.org/15805002/diff/9001/chrome/browser/resources/options/search_engine_manager.js File chrome/browser/resources/options/search_engine_manager.js (right): https://codereview.chromium.org/15805002/diff/9001/chrome/browser/resources/options/search_engine_manager.js#newcode121 chrome/browser/resources/options/search_engine_manager.js:121: SearchEngineManager.getInstance().extensionList_.validationComplete( uh... why are we call through to private ...
7 years, 6 months ago (2013-05-30 22:13:57 UTC) #8
Aaron Jacobs
https://codereview.chromium.org/15805002/diff/9001/chrome/browser/resources/options/search_engine_manager.js File chrome/browser/resources/options/search_engine_manager.js (right): https://codereview.chromium.org/15805002/diff/9001/chrome/browser/resources/options/search_engine_manager.js#newcode121 chrome/browser/resources/options/search_engine_manager.js:121: SearchEngineManager.getInstance().extensionList_.validationComplete( On 2013/05/30 22:13:57, Dan Beam wrote: > uh... ...
7 years, 6 months ago (2013-05-31 03:07:23 UTC) #9
Dan Beam
lgtm https://codereview.chromium.org/15805002/diff/21001/chrome/browser/resources/options/search_engine_manager.js File chrome/browser/resources/options/search_engine_manager.js (right): https://codereview.chromium.org/15805002/diff/21001/chrome/browser/resources/options/search_engine_manager.js#newcode29 chrome/browser/resources/options/search_engine_manager.js:29: defaultsList_: null, I didn't see that it was ...
7 years, 6 months ago (2013-05-31 03:33:56 UTC) #10
Peter Kasting
LGTM with one substantive question. https://codereview.chromium.org/15805002/diff/9001/chrome/browser/search_engines/template_url_service.cc File chrome/browser/search_engines/template_url_service.cc (right): https://codereview.chromium.org/15805002/diff/9001/chrome/browser/search_engines/template_url_service.cc#newcode2115 chrome/browser/search_engines/template_url_service.cc:2115: // the new TemplateURL ...
7 years, 6 months ago (2013-06-01 01:38:03 UTC) #11
Aaron Jacobs
On 2013/06/01 01:38:03, Peter Kasting wrote: > LGTM with one substantive question. > > https://codereview.chromium.org/15805002/diff/9001/chrome/browser/search_engines/template_url_service.cc ...
7 years, 6 months ago (2013-06-01 02:37:47 UTC) #12
Peter Kasting
In the interests of continuity, why don't we just leave the code as-is and not ...
7 years, 6 months ago (2013-06-01 08:25:15 UTC) #13
Aaron Jacobs
https://codereview.chromium.org/15805002/diff/21001/chrome/browser/resources/options/search_engine_manager.js File chrome/browser/resources/options/search_engine_manager.js (right): https://codereview.chromium.org/15805002/diff/21001/chrome/browser/resources/options/search_engine_manager.js#newcode29 chrome/browser/resources/options/search_engine_manager.js:29: defaultsList_: null, On 2013/05/31 03:33:56, Dan Beam wrote: > ...
7 years, 6 months ago (2013-06-03 22:48:33 UTC) #14
Aaron Jacobs
On 2013/06/03 22:48:33, Aaron Jacobs wrote: > https://codereview.chromium.org/15805002/diff/21001/chrome/browser/resources/options/search_engine_manager.js > File chrome/browser/resources/options/search_engine_manager.js (right): > > https://codereview.chromium.org/15805002/diff/21001/chrome/browser/resources/options/search_engine_manager.js#newcode29 ...
7 years, 6 months ago (2013-06-03 23:07:21 UTC) #15
Peter Kasting
Sounds good then.
7 years, 6 months ago (2013-06-03 23:08:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Samusaaron3@gmail.com/15805002/43001
7 years, 6 months ago (2013-06-03 23:10:46 UTC) #17
commit-bot: I haz the power
Change committed as 203855
7 years, 6 months ago (2013-06-04 05:55:30 UTC) #18
Dan Beam
7 years, 6 months ago (2013-06-05 03:55:53 UTC) #19
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/15805002/diff/43001/chrome/browser/sea...
File chrome/browser/search_engines/template_url_service.cc (right):

https://chromiumcodereview.appspot.com/15805002/diff/43001/chrome/browser/sea...
chrome/browser/search_engines/template_url_service.cc:709: i =
entries_to_process.erase(i);
you may need to also explicitly delete the entries you're erasing from the
std::vector here if this class owns this data.  heapcheck is whining.

Powered by Google App Engine
This is Rietveld 408576698