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

Issue 215733002: Add support to enable EmbeddedSearch API in Android Chrome search results page. (Closed)

Created:
6 years, 9 months ago by kmadhusu
Modified:
6 years, 7 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Visibility:
Public.

Description

Add support to enable EmbeddedSearch API in Android Chrome search results page. This CL, - Adds a new EmbeddedSearchPageVerion variant to enable EmbeddedSearch API in Android Chrome search results page. - Adds an experiment flag to enable "EmbeddedSearch API" for Android Chrome. - Creates SearchTabHelper for TabAndroid WebContents. - Uses EmbeddedSearch API to submit search queries if the underlying search results page supports Instant. - Assigns Instant search URL renderers to a priviledged Instant process. - Uses "chrome-search://" scheme for Instant search URLs. - Creates new test to verify the embedded search page version. To test: Enable EmbeddedSearch API flag from about://flags page and run Android Chrome against demo server URL (cl/64511863). Server side bug: b/10402468 BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267069

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : Rebase #

Patch Set 5 : Addressed comments #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -19 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/search/search.cc View 1 2 3 4 4 chunks +25 lines, -15 lines 0 comments Download
A chrome/browser/search/search_android_unittest.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 4 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 1 2 3 4 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
kmadhusu
Please review. Known Issue: When we navigate from web search mode to "Maps" mode, the ...
6 years, 8 months ago (2014-04-23 23:25:56 UTC) #1
kmadhusu
+tedchoc@ PTAL. Thanks.
6 years, 8 months ago (2014-04-23 23:29:16 UTC) #2
Ted C
lgtm - Awesome! Glad to see this wasn't a gigantic change. And yay for sharing ...
6 years, 8 months ago (2014-04-24 16:24:13 UTC) #3
kmadhusu
Addressed comments. Thanks. https://codereview.chromium.org/215733002/diff/40001/chrome/browser/search/search.cc File chrome/browser/search/search.cc (right): https://codereview.chromium.org/215733002/diff/40001/chrome/browser/search/search.cc#newcode372 chrome/browser/search/search.cc:372: switches::kEnableEmbeddedSearchAPI)) { On 2014/04/24 16:24:13, Ted ...
6 years, 8 months ago (2014-04-24 17:38:48 UTC) #4
samarth
lgtm https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc#newcode473 chrome/browser/android/tab_android.cc:473: return DEFAULT_PAGE_LOAD; Is this the right return type ...
6 years, 8 months ago (2014-04-25 06:50:20 UTC) #5
kmadhusu
Addressed comments. Thanks. https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc#newcode473 chrome/browser/android/tab_android.cc:473: return DEFAULT_PAGE_LOAD; On 2014/04/25 06:50:20, samarth ...
6 years, 8 months ago (2014-04-25 17:23:18 UTC) #6
kmadhusu
avi@: Please review tab_helpers.cc. sky@: Please review chrome/renderer/resources/renderer_resources.grd. Thanks.
6 years, 8 months ago (2014-04-25 17:25:47 UTC) #7
sky
LGTM
6 years, 8 months ago (2014-04-25 20:17:36 UTC) #8
Avi (use Gerrit)
On 2014/04/25 20:17:36, sky wrote: > LGTM tab_helpers.cc LGTM
6 years, 7 months ago (2014-04-29 16:50:39 UTC) #9
Ted C
https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc#newcode473 chrome/browser/android/tab_android.cc:473: return DEFAULT_PAGE_LOAD; On 2014/04/25 17:23:19, kmadhusu wrote: > On ...
6 years, 7 months ago (2014-04-29 16:53:13 UTC) #10
kmadhusu
https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/215733002/diff/120001/chrome/browser/android/tab_android.cc#newcode473 chrome/browser/android/tab_android.cc:473: return DEFAULT_PAGE_LOAD; On 2014/04/29 16:53:13, Ted C wrote: > ...
6 years, 7 months ago (2014-04-29 17:01:30 UTC) #11
kmadhusu
The CQ bit was checked by kmadhusu@chromium.org
6 years, 7 months ago (2014-04-29 17:17:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/215733002/180001
6 years, 7 months ago (2014-04-29 17:17:48 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 04:52:57 UTC) #14
Message was sent while issue was closed.
Change committed as 267069

Powered by Google App Engine
This is Rietveld 408576698