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

Issue 1513023: Strips http from omnibox (and a couple of other places) (Closed)

Created:
10 years, 8 months ago by sky
Modified:
9 years, 7 months ago
Reviewers:
brettw, Peter Kasting
CC:
chromium-reviews, darin-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Strips http from the omnibox BUG=none TEST=type in urls and make sure once loaded we don't show http. Make sure we do show https (and other schemes) though. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44140

Patch Set 1 #

Total comments: 17

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 14

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -155 lines) Patch
M app/text_elider.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M app/text_elider_unittest.cc View 4 6 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/history_contents_provider.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider.cc View 1 2 3 4 5 chunks +11 lines, -24 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_table_model.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/cocoa/status_bubble_mac_unittest.mm View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/gtk/options/passwords_exceptions_page_gtk.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/options/passwords_page_gtk.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/gtk/options/url_picker_dialog_gtk.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/net/browser_url_util.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/net/url_fixer_upper.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/toolbar_model.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/views/bookmark_editor_view.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/views/url_picker.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M net/base/net_util.h View 1 2 3 4 chunks +28 lines, -14 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 5 6 9 chunks +59 lines, -21 lines 0 comments Download
M net/base/net_util_unittest.cc View 2 3 15 chunks +115 lines, -45 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sky
10 years, 8 months ago (2010-04-07 21:53:03 UTC) #1
Peter Kasting
Several of the places you used FORMAT_URL_NONE seem to me like maybe they should be ...
10 years, 8 months ago (2010-04-07 22:33:55 UTC) #2
sky
New patch uploaded.
10 years, 8 months ago (2010-04-08 23:07:49 UTC) #3
Peter Kasting
LGTM if you fix the below http://codereview.chromium.org/1513023/diff/32001/17006 File chrome/browser/autocomplete/autocomplete.cc (right): http://codereview.chromium.org/1513023/diff/32001/17006#newcode602 chrome/browser/autocomplete/autocomplete.cc:602: const net::FormatUrlTypes format_types ...
10 years, 8 months ago (2010-04-08 23:30:30 UTC) #4
Peter Kasting
Oh yeah, and fix the change description
10 years, 8 months ago (2010-04-08 23:31:23 UTC) #5
sky
I think I got them. I also realized I missed updating the new_parsed argument, so ...
10 years, 8 months ago (2010-04-09 03:38:55 UTC) #6
sky
Brett, Peter reviewed most of this, but he's out tomorrow. Could you take a look ...
10 years, 8 months ago (2010-04-09 03:41:22 UTC) #7
brettw
I think we do want is_valid rather than is_nonempty in this case.
10 years, 8 months ago (2010-04-09 18:24:13 UTC) #8
sky
Updated. Could you take another look? Thanks, -Scott
10 years, 8 months ago (2010-04-09 19:32:56 UTC) #9
brettw
10 years, 8 months ago (2010-04-09 21:05:35 UTC) #10
LGTM, I only checked net_util.

Powered by Google App Engine
This is Rietveld 408576698