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

Issue 12387026: Expose getSearchTerms to tab_model for Android (Closed)

Created:
7 years, 9 months ago by Yusuf
Modified:
7 years, 9 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org
Visibility:
Public.

Description

Expose getSearchTerms to tab_model for Android This adds the necessary call to expose getSearchTerms to tab_model through the toolbar_model and ifdefs out the instant process checks for iOS and Android since neither uses instant for query extraction. BUG=177517 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187045

Patch Set 1 #

Patch Set 2 : Added another call to expose the query extraction param #

Patch Set 3 : Fixed include errir #

Total comments: 9

Patch Set 4 : Nit fixes #

Patch Set 5 : Added for comment for ifdef #

Patch Set 6 : Rebased #

Patch Set 7 : Rebased to recent changes in search.cc #

Patch Set 8 : Rebased #

Patch Set 9 : Rebased #

Patch Set 10 : Rebased again... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M chrome/browser/instant/search.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/android/tab_model/tab_model.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/android/tab_model/tab_model.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Yusuf
7 years, 9 months ago (2013-02-28 23:40:12 UTC) #1
dhollowa
c/b/ui/search LGTM.
7 years, 9 months ago (2013-03-01 00:35:04 UTC) #2
dhollowa
https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/search/search.cc File chrome/browser/ui/search/search.cc (right): https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/search/search.cc#newcode214 chrome/browser/ui/search/search.cc:214: #endif nit: // !defined(OS_IOS) && !defined(OS_ANDROID)
7 years, 9 months ago (2013-03-01 00:35:51 UTC) #3
Ted C
lgtm w/ questions. Nothing blocking for me. https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.h File chrome/browser/ui/android/tab_model/tab_model.h (right): https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.h#newcode62 chrome/browser/ui/android/tab_model/tab_model.h:62: string16 GetSearchTermsForCurrentUrl(); ...
7 years, 9 months ago (2013-03-01 02:50:21 UTC) #4
sreeram
https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.cc File chrome/browser/ui/android/tab_model/tab_model.cc (right): https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.cc#newcode104 chrome/browser/ui/android/tab_model/tab_model.cc:104: return search_terms_data.InstantExtendedEnabledParam(); SearchTermsData::InstantExtendedEnabledParam() checks to see if instant-extended is ...
7 years, 9 months ago (2013-03-01 16:48:15 UTC) #5
rohitrao (ping after 24h)
https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.cc File chrome/browser/ui/android/tab_model/tab_model.cc (right): https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.cc#newcode104 chrome/browser/ui/android/tab_model/tab_model.cc:104: return search_terms_data.InstantExtendedEnabledParam(); On 2013/03/01 16:48:16, sreeram wrote: > SearchTermsData::InstantExtendedEnabledParam() ...
7 years, 9 months ago (2013-03-01 16:57:13 UTC) #6
rohitrao (ping after 24h)
search.cc changes LGTM
7 years, 9 months ago (2013-03-01 16:57:49 UTC) #7
sreeram
lgtm https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.cc File chrome/browser/ui/android/tab_model/tab_model.cc (right): https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.cc#newcode104 chrome/browser/ui/android/tab_model/tab_model.cc:104: return search_terms_data.InstantExtendedEnabledParam(); On 2013/03/01 16:57:13, rohitrao wrote: > ...
7 years, 9 months ago (2013-03-01 17:00:41 UTC) #8
Yusuf
https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.h File chrome/browser/ui/android/tab_model/tab_model.h (right): https://codereview.chromium.org/12387026/diff/4001/chrome/browser/ui/android/tab_model/tab_model.h#newcode62 chrome/browser/ui/android/tab_model/tab_model.h:62: string16 GetSearchTermsForCurrentUrl(); On 2013/03/01 02:50:21, Ted C wrote: > ...
7 years, 9 months ago (2013-03-01 18:58:20 UTC) #9
Yusuf
The first CL that enables espv=1 for Android has committed on https://codereview.chromium.org/12319124/. I have rebased ...
7 years, 9 months ago (2013-03-07 23:34:14 UTC) #10
Ted C
On 2013/03/07 23:34:14, Yusuf wrote: > The first CL that enables espv=1 for Android has ...
7 years, 9 months ago (2013-03-07 23:38:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/12387026/19002
7 years, 9 months ago (2013-03-07 23:55:42 UTC) #12
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/search/search.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-07 23:55:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/12387026/31001
7 years, 9 months ago (2013-03-08 01:49:15 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/search/search.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-08 01:49:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/12387026/35001
7 years, 9 months ago (2013-03-08 02:00:20 UTC) #16
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/search/search.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-08 02:00:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/12387026/38001
7 years, 9 months ago (2013-03-08 18:12:58 UTC) #18
commit-bot: I haz the power
7 years, 9 months ago (2013-03-08 22:11:53 UTC) #19
Message was sent while issue was closed.
Change committed as 187045

Powered by Google App Engine
This is Rietveld 408576698