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

Issue 10933023: Control zero suggest with a pref, not a switch. (Closed)

Created:
8 years, 3 months ago by samarth
Modified:
8 years, 3 months ago
Reviewers:
James Hawkins, sreeram
CC:
chromium-reviews, gideonwald, dominich, arv (Not doing code reviews), Shishir, James Su, Jered
Visibility:
Public.

Description

Control zero suggest with a pref, not a switch. This makes it easier to try out the feature: don't need a new command line flag each time you start up Chrome. It also makes it possible to test it on ChromeOS devices. TESTED=Changing setting on chrome://instant works as expected. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156986

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed nit and rebase. #

Patch Set 3 : Fixed nit and rebase. #

Patch Set 4 : Fix for clang compile error. #

Patch Set 5 : Fix for clang compile error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -39 lines) Patch
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.h View 1 3 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.cc View 1 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/instant/instant.js View 4 chunks +21 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/instant_ui.cc View 1 2 3 2 chunks +23 lines, -15 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
samarth
Hey Sreeram, Mind taking a first pass over this before I send it off to ...
8 years, 3 months ago (2012-09-11 14:50:31 UTC) #1
sreeram
lgtm
8 years, 3 months ago (2012-09-11 14:58:20 UTC) #2
samarth
Thanks for the review Sreeram! jhawkins: you can find some more context about this feature ...
8 years, 3 months ago (2012-09-11 15:07:27 UTC) #3
samarth
Sorry, sent this to jhawkins@google.com by accident -- see previous comment for details about this ...
8 years, 3 months ago (2012-09-12 18:01:20 UTC) #4
James Hawkins
Have you gotten this approved by UI leads or what have you? This goes against ...
8 years, 3 months ago (2012-09-13 21:32:52 UTC) #5
David Black
On 2012/09/13 21:32:52, James Hawkins wrote: > Have you gotten this approved by UI leads ...
8 years, 3 months ago (2012-09-14 01:02:35 UTC) #6
James Hawkins
On 2012/09/14 01:02:35, David Black wrote: > On 2012/09/13 21:32:52, James Hawkins wrote: > > ...
8 years, 3 months ago (2012-09-14 01:07:27 UTC) #7
samarth
(Sorry, I thought I already sent this..) Hi James, On 2012/09/14 01:07:27, James Hawkins wrote: ...
8 years, 3 months ago (2012-09-14 01:09:20 UTC) #8
James Hawkins
On 2012/09/14 01:09:20, samarth wrote: > (Sorry, I thought I already sent this..) > > ...
8 years, 3 months ago (2012-09-14 15:36:13 UTC) #9
sreeram
On 2012/09/14 15:36:13, James Hawkins wrote: > They've approved that we're adding a new pref ...
8 years, 3 months ago (2012-09-14 15:42:34 UTC) #10
James Hawkins
LGTM with nit. http://codereview.chromium.org/10933023/diff/1/chrome/browser/autocomplete/zero_suggest_provider.h File chrome/browser/autocomplete/zero_suggest_provider.h (right): http://codereview.chromium.org/10933023/diff/1/chrome/browser/autocomplete/zero_suggest_provider.h#newcode53 chrome/browser/autocomplete/zero_suggest_provider.h:53: // Create and return an instance ...
8 years, 3 months ago (2012-09-14 15:45:05 UTC) #11
samarth
Thanks for the review! Waiting for trybots to run successfully and then I'll commit. Thanks, ...
8 years, 3 months ago (2012-09-14 18:25:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/10933023/10012
8 years, 3 months ago (2012-09-14 23:02:27 UTC) #13
commit-bot: I haz the power
8 years, 3 months ago (2012-09-15 05:08:00 UTC) #14
Change committed as 156986

Powered by Google App Engine
This is Rietveld 408576698