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

Issue 7069002: Only update a "not already visible" compact nav bar when we change host or scheme. (Closed)

Created:
9 years, 7 months ago by MAD
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Only update a "not already visible" compact nav bar when we change host or scheme. BUG=83755 TEST=Make sure the CompactNav bar shows up when changing hosts or scheme (e.g., from https to http) but doesn't show otherwise. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86645

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc View 1 chunk +13 lines, -3 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
MAD
9 years, 7 months ago (2011-05-25 01:36:25 UTC) #1
SteveT
Just one question inline. http://codereview.chromium.org/7069002/diff/1/chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc File chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc (right): http://codereview.chromium.org/7069002/diff/1/chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc#newcode339 chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc:339: if (old_url.has_host() && new_url.host() == ...
9 years, 7 months ago (2011-05-25 04:30:28 UTC) #2
MAD
Since I want to NOT show the cnav when the hosts ARE the same, I ...
9 years, 7 months ago (2011-05-25 13:45:29 UTC) #3
SteveT
LGTM I too prefer to err on the safe side - just wanted to know ...
9 years, 7 months ago (2011-05-25 15:59:04 UTC) #4
commit-bot: I haz the power
9 years, 7 months ago (2011-05-25 17:08:44 UTC) #5
Change committed as 86645

Powered by Google App Engine
This is Rietveld 408576698