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

Issue 321943002: Prefetch high-confidence search suggestions in Android Chrome. (Closed)

Created:
6 years, 6 months ago by kmadhusu
Modified:
5 years, 11 months ago
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org, dominich+watch_chromium.org, davidben+watch_chromium.org
Visibility:
Public.

Description

To support Instant search in Android Chrome, this CL (1) Prerenders an Instant search base page on the receipt of a high-confidence search suggestion. (2) Prefetches the search results for the high-confidence suggestion using the prerendered page. (3) When the user commits the search query, Android Chrome submits the query to the prerendered page and swaps the active tab contents with the prerendered contents. BUG=382694 TEST= Apply this patch, build Android Chrome and run it against the server url specified in go/yzcku. Type a search query in the LocationBar. Android Chrome should identify the high-confidence suggestion for the typed query and prefetch the results for that suggestion. Commit the typed query. Android Chrome should swap the active tab contents with the prerendered page contents. You should see the search results instantaneously. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277818

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed coment #

Patch Set 4 : '' #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -13 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/android/omnibox/autocomplete_controller_android.cc View 1 2 3 4 3 chunks +29 lines, -1 line 0 comments Download
M chrome/browser/android/omnibox/omnibox_prerender.cc View 3 chunks +26 lines, -10 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (1 generated)
kmadhusu
Please review. Thanks.
6 years, 6 months ago (2014-06-09 23:02:26 UTC) #1
Ted C
Overall seems reasonable, but hopefully samarth can check more on the logic side of the ...
6 years, 6 months ago (2014-06-10 20:56:30 UTC) #2
kmadhusu
https://codereview.chromium.org/321943002/diff/20001/chrome/browser/android/omnibox/autocomplete_controller_android.cc File chrome/browser/android/omnibox/autocomplete_controller_android.cc (right): https://codereview.chromium.org/321943002/diff/20001/chrome/browser/android/omnibox/autocomplete_controller_android.cc#newcode336 chrome/browser/android/omnibox/autocomplete_controller_android.cc:336: if (chrome::IsInstantExtendedAPIEnabled() && On 2014/06/10 20:56:29, Ted C wrote: ...
6 years, 6 months ago (2014-06-10 22:04:49 UTC) #3
Ted C
lgtm
6 years, 6 months ago (2014-06-10 23:24:17 UTC) #4
samarth
You should probably have Jered take a look at this. He's much more familiar with ...
6 years, 6 months ago (2014-06-13 00:58:00 UTC) #5
kmadhusu
On 2014/06/13 00:58:00, samarth wrote: > You should probably have Jered take a look at ...
6 years, 6 months ago (2014-06-13 01:04:02 UTC) #6
kmadhusu
jered@: PTAL. Thanks.
6 years, 6 months ago (2014-06-13 01:04:17 UTC) #7
Jered
https://codereview.chromium.org/321943002/diff/40001/chrome/browser/android/omnibox/autocomplete_controller_android.cc File chrome/browser/android/omnibox/autocomplete_controller_android.cc (right): https://codereview.chromium.org/321943002/diff/40001/chrome/browser/android/omnibox/autocomplete_controller_android.cc#newcode336 chrome/browser/android/omnibox/autocomplete_controller_android.cc:336: if (default_match_changed && AutocompleteController::OnResultChanged() does not prerender if the ...
6 years, 6 months ago (2014-06-13 16:53:20 UTC) #8
kmadhusu
jered@: Addressed comments. Thanks. https://codereview.chromium.org/321943002/diff/40001/chrome/browser/android/omnibox/autocomplete_controller_android.cc File chrome/browser/android/omnibox/autocomplete_controller_android.cc (right): https://codereview.chromium.org/321943002/diff/40001/chrome/browser/android/omnibox/autocomplete_controller_android.cc#newcode336 chrome/browser/android/omnibox/autocomplete_controller_android.cc:336: if (default_match_changed && On 2014/06/13 ...
6 years, 6 months ago (2014-06-13 17:42:14 UTC) #9
Jered
On 2014/06/13 17:42:14, kmadhusu wrote: > jered@: Addressed comments. > > Thanks. > > https://codereview.chromium.org/321943002/diff/40001/chrome/browser/android/omnibox/autocomplete_controller_android.cc ...
6 years, 6 months ago (2014-06-13 17:58:18 UTC) #10
kmadhusu
On 2014/06/13 17:58:18, Jered wrote: > On 2014/06/13 17:42:14, kmadhusu wrote: > > jered@: Addressed ...
6 years, 6 months ago (2014-06-13 18:33:42 UTC) #11
Jered
On 2014/06/13 18:33:42, kmadhusu wrote: > On 2014/06/13 17:58:18, Jered wrote: > > On 2014/06/13 ...
6 years, 6 months ago (2014-06-13 18:37:25 UTC) #12
kmadhusu
On 2014/06/13 18:37:25, Jered wrote: > On 2014/06/13 18:33:42, kmadhusu wrote: > > On 2014/06/13 ...
6 years, 6 months ago (2014-06-17 01:20:36 UTC) #13
Jered
On 2014/06/17 01:20:36, kmadhusu wrote: > On 2014/06/13 18:37:25, Jered wrote: > > On 2014/06/13 ...
6 years, 6 months ago (2014-06-17 14:59:49 UTC) #14
kmadhusu
The CQ bit was checked by kmadhusu@chromium.org
6 years, 6 months ago (2014-06-17 15:33:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/321943002/100001
6 years, 6 months ago (2014-06-17 15:35:30 UTC) #16
commit-bot: I haz the power
Change committed as 277818
6 years, 6 months ago (2014-06-17 18:42:05 UTC) #17
luckyalvarez47
lgtm
5 years, 11 months ago (2015-01-07 16:59:07 UTC) #19
luckyalvarez47
lgtm
5 years, 11 months ago (2015-01-07 17:00:13 UTC) #20
luckyalvarez47
5 years, 11 months ago (2015-01-07 17:00:14 UTC) #21
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698