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

Issue 13141002: Use Instant suggested match type for Instant temporary text. (Closed)

Created:
7 years, 9 months ago by sreeram
Modified:
7 years, 7 months ago
Reviewers:
Mark P, Peter Kasting
CC:
chromium-reviews, melevin, dhollowa+watch_chromium.org, dougw+watch_chromium.org, gideonwald, dominich, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered, beaudoin
Visibility:
Public.

Description

Use Instant suggested match type for Instant temporary text. BUG=224522, 173414 R=mpearson@chromium.org, pkasting@chromium.org TEST=See bug. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196989

Patch Set 1 #

Total comments: 1

Patch Set 2 : TODO #

Total comments: 7

Patch Set 3 : . #

Patch Set 4 : const string16& #

Total comments: 14

Patch Set 5 : |relevance|, comments #

Patch Set 6 : TODO #

Total comments: 10

Patch Set 7 : SuggestExactInput #

Patch Set 8 : static #

Total comments: 3

Patch Set 9 : Remove GetProviders() #

Total comments: 2

Patch Set 10 : No DCHECK #

Patch Set 11 : Expanded comment #

Patch Set 12 : Rebase #

Patch Set 13 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -90 lines) Patch
M chrome/browser/autocomplete/search_provider.h View 1 2 3 4 5 6 7 8 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +99 lines, -76 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 3 4 5 6 7 8 9 10 13 chunks +53 lines, -9 lines 0 comments Download
M chrome/browser/ui/search/instant_extended_interactive_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +46 lines, -0 lines 0 comments Download
M chrome/test/data/instant_extended.html View 1 2 3 4 5 6 7 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
sreeram
Please review.
7 years, 9 months ago (2013-03-28 03:30:50 UTC) #1
Peter Kasting
https://codereview.chromium.org/13141002/diff/1/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/13141002/diff/1/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode555 chrome/browser/ui/omnibox/omnibox_edit_model.cc:555: match.transition = content::PAGE_TRANSITION_GENERATED; It's not at all clear to ...
7 years, 9 months ago (2013-03-28 20:35:00 UTC) #2
sreeram
On 2013/03/28 20:35:00, Peter Kasting wrote: > It's not at all clear to me why ...
7 years, 8 months ago (2013-04-08 16:07:28 UTC) #3
Peter Kasting
https://codereview.chromium.org/13141002/diff/8001/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/13141002/diff/8001/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode1226 chrome/browser/ui/omnibox/omnibox_edit_model.cc:1226: // TODO XXX On 2013/04/08 16:07:28, sreeram wrote: > ...
7 years, 8 months ago (2013-04-08 20:13:49 UTC) #4
sreeram
https://codereview.chromium.org/13141002/diff/8001/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/13141002/diff/8001/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode1226 chrome/browser/ui/omnibox/omnibox_edit_model.cc:1226: // TODO XXX On 2013/04/08 20:13:50, Peter Kasting wrote: ...
7 years, 8 months ago (2013-04-08 20:20:47 UTC) #5
Peter Kasting
https://codereview.chromium.org/13141002/diff/8001/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/13141002/diff/8001/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode1226 chrome/browser/ui/omnibox/omnibox_edit_model.cc:1226: // TODO XXX On 2013/04/08 20:20:48, sreeram wrote: > ...
7 years, 8 months ago (2013-04-08 20:34:05 UTC) #6
sreeram
@pkasting: Please review patchset #3.
7 years, 8 months ago (2013-04-09 02:04:29 UTC) #7
Mark P
https://codereview.chromium.org/13141002/diff/21001/chrome/browser/autocomplete/search_provider.h File chrome/browser/autocomplete/search_provider.h (right): https://codereview.chromium.org/13141002/diff/21001/chrome/browser/autocomplete/search_provider.h#newcode80 chrome/browser/autocomplete/search_provider.h:80: bool GetSearchWhatYouTypedMatch(const string16& query, I find this somewhat misleading. ...
7 years, 8 months ago (2013-04-09 23:59:11 UTC) #8
sreeram
Addressed the following comments in patchset #5. https://codereview.chromium.org/13141002/diff/21001/chrome/browser/autocomplete/search_provider.h File chrome/browser/autocomplete/search_provider.h (right): https://codereview.chromium.org/13141002/diff/21001/chrome/browser/autocomplete/search_provider.h#newcode80 chrome/browser/autocomplete/search_provider.h:80: bool GetSearchWhatYouTypedMatch(const ...
7 years, 8 months ago (2013-04-11 20:37:54 UTC) #9
sreeram
https://codereview.chromium.org/13141002/diff/21001/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/13141002/diff/21001/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode1244 chrome/browser/ui/omnibox/omnibox_edit_model.cc:1244: text, text, TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, false, match); On 2013/04/09 23:59:11, Mark ...
7 years, 8 months ago (2013-04-11 20:48:57 UTC) #10
sreeram
On 2013/04/11 20:48:57, sreeram wrote: > When we are using the local fallback Instant overlay ...
7 years, 8 months ago (2013-04-11 23:19:31 UTC) #11
Mark P
On 2013/04/11 23:19:31, sreeram wrote: > On 2013/04/11 20:48:57, sreeram wrote: > > When we ...
7 years, 8 months ago (2013-04-12 00:00:47 UTC) #12
sreeram
On 2013/04/12 00:00:47, Mark P wrote: > Can you please file a separate bug, marked ...
7 years, 8 months ago (2013-04-12 00:23:48 UTC) #13
Mark P
lgtm but please wait for Peter to circle back before submitting.
7 years, 8 months ago (2013-04-12 00:26:39 UTC) #14
sreeram
On 2013/04/12 00:26:39, Mark P wrote: > lgtm > > but please wait for Peter ...
7 years, 8 months ago (2013-04-12 00:27:41 UTC) #15
Peter Kasting
The question about being static below is the really critical one. https://codereview.chromium.org/13141002/diff/43001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): ...
7 years, 8 months ago (2013-04-12 00:29:01 UTC) #16
sreeram
PTAL. Addressed the following comments in patchset #7. https://codereview.chromium.org/13141002/diff/43001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/13141002/diff/43001/chrome/browser/autocomplete/search_provider.cc#newcode230 chrome/browser/autocomplete/search_provider.cc:230: match->keyword ...
7 years, 8 months ago (2013-04-12 22:36:17 UTC) #17
Peter Kasting
https://codereview.chromium.org/13141002/diff/43001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/13141002/diff/43001/chrome/browser/autocomplete/search_provider.cc#newcode1382 chrome/browser/autocomplete/search_provider.cc:1382: match.type = type; On 2013/04/12 22:36:18, sreeram wrote: > ...
7 years, 8 months ago (2013-04-12 22:50:58 UTC) #18
sreeram
Peter, PTAL. Changed the method to be static.
7 years, 8 months ago (2013-04-26 20:34:48 UTC) #19
Peter Kasting
https://codereview.chromium.org/13141002/diff/62001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/13141002/diff/62001/chrome/browser/autocomplete/search_provider.cc#newcode174 chrome/browser/autocomplete/search_provider.cc:174: match.keyword = is_keyword ? The only reason this function ...
7 years, 8 months ago (2013-04-27 01:21:20 UTC) #20
sreeram
https://codereview.chromium.org/13141002/diff/62001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/13141002/diff/62001/chrome/browser/autocomplete/search_provider.cc#newcode174 chrome/browser/autocomplete/search_provider.cc:174: match.keyword = is_keyword ? On 2013/04/27 01:21:21, Peter Kasting ...
7 years, 8 months ago (2013-04-27 01:25:54 UTC) #21
Peter Kasting
https://codereview.chromium.org/13141002/diff/62001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/13141002/diff/62001/chrome/browser/autocomplete/search_provider.cc#newcode174 chrome/browser/autocomplete/search_provider.cc:174: match.keyword = is_keyword ? On 2013/04/27 01:25:54, sreeram wrote: ...
7 years, 8 months ago (2013-04-27 01:37:48 UTC) #22
sreeram
Okay, done. PTAL.
7 years, 8 months ago (2013-04-27 02:05:38 UTC) #23
Peter Kasting
LGTM with one caveat https://codereview.chromium.org/13141002/diff/66002/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/13141002/diff/66002/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode1280 chrome/browser/ui/omnibox/omnibox_edit_model.cc:1280: DCHECK(default_provider->SupportsReplacement()); I'm nervous about these ...
7 years, 8 months ago (2013-04-27 02:15:26 UTC) #24
sreeram
https://codereview.chromium.org/13141002/diff/66002/chrome/browser/ui/omnibox/omnibox_edit_model.cc File chrome/browser/ui/omnibox/omnibox_edit_model.cc (right): https://codereview.chromium.org/13141002/diff/66002/chrome/browser/ui/omnibox/omnibox_edit_model.cc#newcode1280 chrome/browser/ui/omnibox/omnibox_edit_model.cc:1280: DCHECK(default_provider->SupportsReplacement()); On 2013/04/27 02:15:26, Peter Kasting wrote: > I'm ...
7 years, 8 months ago (2013-04-27 02:21:56 UTC) #25
Peter Kasting
On 2013/04/27 02:21:56, sreeram wrote: > Done. I had added the DCHECK because Instant now ...
7 years, 8 months ago (2013-04-27 02:37:45 UTC) #26
sreeram
On 2013/04/27 02:37:45, Peter Kasting wrote: > On 2013/04/27 02:21:56, sreeram wrote: > > Done. ...
7 years, 8 months ago (2013-04-27 02:44:21 UTC) #27
Peter Kasting
On 2013/04/27 02:44:21, sreeram wrote: > On 2013/04/27 02:37:45, Peter Kasting wrote: > > On ...
7 years, 8 months ago (2013-04-27 02:51:28 UTC) #28
sreeram
On 2013/04/27 02:51:28, Peter Kasting wrote: > :/ I'm not a huge fan of that, ...
7 years, 8 months ago (2013-04-27 03:11:04 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sreeram@chromium.org/13141002/61007
7 years, 8 months ago (2013-04-27 06:20:49 UTC) #30
commit-bot: I haz the power
Failed to apply patch for chrome/browser/autocomplete/search_provider.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-27 06:20:51 UTC) #31
sreeram
7 years, 7 months ago (2013-04-28 16:58:19 UTC) #32
Message was sent while issue was closed.
Committed patchset #13 manually as r196989 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698