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

Issue 6685002: Wires up ability for page to specify instant auto complete (Closed)

Created:
9 years, 9 months ago by sky
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Wires up ability for page to specify instant auto complete behavior. The choices are: . immediately (current behavior and is the default). . delayed (transitions to autocompleted after a delay). . never (only show the suggestion, but never autocomplete it). I'm doing this so we can collect some data to help understand which is the less error prone of the 3. The data collection is all done on the server side. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78211

Patch Set 1 #

Patch Set 2 : Fix unit test and stray char #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -97 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit.h View 4 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit.cc View 5 chunks +28 lines, -12 lines 1 comment Download
M chrome/browser/autocomplete/autocomplete_edit_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_views.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_views.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/instant/instant_browsertest.cc View 2 chunks +35 lines, -0 lines 2 comments Download
M chrome/browser/instant/instant_controller.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/instant/instant_controller.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/instant/instant_delegate.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/instant/instant_loader.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/instant/instant_loader.cc View 3 chunks +19 lines, -12 lines 0 comments Download
M chrome/browser/instant/instant_loader_delegate.h View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/instant/instant_loader_manager_unittest.cc View 1 1 chunk +10 lines, -7 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/location_bar.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 2 chunks +34 lines, -8 lines 0 comments Download
M chrome/test/test_location_bar.h View 1 chunk +17 lines, -16 lines 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
sky
9 years, 9 months ago (2011-03-11 17:24:55 UTC) #1
sky
It looks like Peter is gone all week. Jay, could you review this? Thanks, -Scott
9 years, 9 months ago (2011-03-14 18:33:13 UTC) #2
Jay Civelli
LGTM
9 years, 9 months ago (2011-03-14 20:34:26 UTC) #3
Peter Kasting
Did you want me to look at this once I have time, or is it ...
9 years, 9 months ago (2011-03-15 19:42:02 UTC) #4
sky
I would love a full review from you when you have the time. -Scott On ...
9 years, 9 months ago (2011-03-15 19:48:57 UTC) #5
Peter Kasting
LGTM http://codereview.chromium.org/6685002/diff/3001/chrome/browser/autocomplete/autocomplete_edit.cc File chrome/browser/autocomplete/autocomplete_edit.cc (right): http://codereview.chromium.org/6685002/diff/3001/chrome/browser/autocomplete/autocomplete_edit.cc#newcode231 chrome/browser/autocomplete/autocomplete_edit.cc:231: if (!might_support_instant) { Nit: I'd remove the "!" ...
9 years, 9 months ago (2011-03-29 00:10:26 UTC) #6
sky
9 years, 9 months ago (2011-03-29 00:11:20 UTC) #7
http://codereview.chromium.org/6685002/diff/3001/chrome/browser/instant/insta...
File chrome/browser/instant/instant_browsertest.cc (right):

http://codereview.chromium.org/6685002/diff/3001/chrome/browser/instant/insta...
chrome/browser/instant/instant_browsertest.cc:695:
IN_PROC_BROWSER_TEST_F(InstantTest, InstantCompleteNever) {
On 2011/03/29 00:10:27, Peter Kasting wrote:
> Is testing INSTANT_COMPLETE_NOW what all the rest of the code in this file
does?

Yes, since that's the default.

Powered by Google App Engine
This is Rietveld 408576698