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

Issue 10867038: A simple version of search term replacement for testing . (Closed)

Created:
8 years, 4 months ago by dominich
Modified:
8 years, 3 months ago
CC:
chromium-reviews, tfarina, James Su
Visibility:
Public.

Description

A simple version of search term replacement for testing. Google search URLs that support the extended instant API will be replaced in the Omnibox by the search terms. BUG=135106, 139176 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153341

Patch Set 1 #

Total comments: 2

Patch Set 2 : use url_parse #

Total comments: 9

Patch Set 3 : added whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -45 lines) Patch
M chrome/browser/google/google_util.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/google/google_util.cc View 1 2 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model.h View 1 2 3 chunks +25 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model.cc View 1 4 chunks +47 lines, -14 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_unittest.cc View 2 chunks +164 lines, -20 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
dominich
sky: Please look over everything UI related dhollowa: For the ui/cocoa changes isherman: For the ...
8 years, 4 months ago (2012-08-23 19:35:19 UTC) #1
Ilya Sherman
google/ changes LGTM. Please update the CL description to explicitly name which feature this is ...
8 years, 4 months ago (2012-08-23 19:50:51 UTC) #2
dominich
http://codereview.chromium.org/10867038/diff/1/chrome/browser/google/google_util.cc File chrome/browser/google/google_util.cc (right): http://codereview.chromium.org/10867038/diff/1/chrome/browser/google/google_util.cc#newcode146 chrome/browser/google/google_util.cc:146: base::SplitStringIntoKeyValuePairs(url.query(), '=', '&', &key_value_pairs); On 2012/08/23 19:50:51, Ilya Sherman ...
8 years, 4 months ago (2012-08-23 20:45:36 UTC) #3
dhollowa
Cocoa stuff LGTM. A general question... how much of this is incremental steps toward final ...
8 years, 4 months ago (2012-08-23 22:32:24 UTC) #4
sky
http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc File chrome/browser/ui/toolbar/toolbar_model.cc (right): http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc#newcode203 chrome/browser/ui/toolbar/toolbar_model.cc:203: google_util::IsInstantExtendedAPIGoogleSearchUrl(url.spec())) { Shouldn't this always be with the default ...
8 years, 4 months ago (2012-08-23 22:44:26 UTC) #5
dominich
On 2012/08/23 22:32:24, dhollowa wrote: > Cocoa stuff LGTM. A general question... how much of ...
8 years, 4 months ago (2012-08-24 15:40:18 UTC) #6
dominich
http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc File chrome/browser/ui/toolbar/toolbar_model.cc (right): http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc#newcode203 chrome/browser/ui/toolbar/toolbar_model.cc:203: google_util::IsInstantExtendedAPIGoogleSearchUrl(url.spec())) { On 2012/08/23 22:44:26, sky wrote: > Shouldn't ...
8 years, 4 months ago (2012-08-24 15:51:07 UTC) #7
sky
http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc File chrome/browser/ui/toolbar/toolbar_model.cc (right): http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc#newcode203 chrome/browser/ui/toolbar/toolbar_model.cc:203: google_util::IsInstantExtendedAPIGoogleSearchUrl(url.spec())) { On 2012/08/24 15:51:07, dominich wrote: > On ...
8 years, 4 months ago (2012-08-24 18:11:02 UTC) #8
dominich
On 2012/08/24 18:11:02, sky wrote: > http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc > File chrome/browser/ui/toolbar/toolbar_model.cc (right): > > http://codereview.chromium.org/10867038/diff/7001/chrome/browser/ui/toolbar/toolbar_model.cc#newcode203 > ...
8 years, 4 months ago (2012-08-24 18:14:38 UTC) #9
sky
Fair enough, LGTM
8 years, 4 months ago (2012-08-24 19:05:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominich@chromium.org/10867038/1013
8 years, 4 months ago (2012-08-24 19:08:51 UTC) #11
commit-bot: I haz the power
Try job failure for 10867038-1013 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-24 20:46:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominich@chromium.org/10867038/1013
8 years, 4 months ago (2012-08-24 20:49:12 UTC) #13
commit-bot: I haz the power
Change committed as 153341
8 years, 4 months ago (2012-08-24 23:22:12 UTC) #14
sreeram
On 2012/08/24 23:22:12, I haz the power (commit-bot) wrote: > Change committed as 153341 It ...
8 years, 3 months ago (2012-08-27 16:33:14 UTC) #15
dominich.google
8 years, 3 months ago (2012-08-27 16:48:03 UTC) #16
On Mon, Aug 27, 2012 at 9:33 AM, <sreeram@chromium.org> wrote:

> On 2012/08/24 23:22:12, I haz the power (commit-bot) wrote:
>
>> Change committed as 153341
>>
>
> It seems to me that this change doesn't extract search terms from the
> fragment
> (ref) portion of the URL, which is where the search terms will be found in
> the
> extended API case (in fact, for any Instant mode).
>

Coming soon. This CL allows for easy testing using a custom search
provider. The next CL will add fragment support for instant URLs.



>
>
http://codereview.chromium.**org/10867038/<http://codereview.chromium.org/108...
>

Powered by Google App Engine
This is Rietveld 408576698