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

Issue 1369002: Re-attempt at http://codereview.chromium.org/1344002... (Closed)

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

Description

Re-attempt at http://codereview.chromium.org/1344002 Adds geolocaiton support to the location bar content image model and content bubble model. Most of these edits were lifted out of http://codereview.chromium.org/650180 TODO: add geolocation support to the views in the three UI platforms for the bubble model. (NOTE this change results in poorly formed bubble contents for the geolocaiton bubble, this will be fixed up in the following CLs) BUG=11246 TEST=open a site that uses geolocaiton, select allow/deny & click the icon. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42739

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -30 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/content_setting_bubble_model.h View 1 2 5 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/content_setting_bubble_model.cc View 1 2 7 chunks +68 lines, -1 line 0 comments Download
M chrome/browser/content_setting_image_model.cc View 2 chunks +73 lines, -26 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
joth
- only differences are DomainList now stores hosts as std::string instead of GURL, to keep ...
10 years, 9 months ago (2010-03-25 22:20:55 UTC) #1
joth
Second attempt at updating the bubble model should be just a rubber stamp: only differences ...
10 years, 9 months ago (2010-03-25 22:25:24 UTC) #2
Peter Kasting
http://codereview.chromium.org/1369002/diff/1/6 File chrome/browser/content_setting_bubble_model.cc (right): http://codereview.chromium.org/1369002/diff/1/6#newcode187 chrome/browser/content_setting_bubble_model.cc:187: domains[it->second].hosts.push_back(it->first.spec()); I don't think you want spec() here. I ...
10 years, 9 months ago (2010-03-25 22:28:37 UTC) #3
joth
10 years, 9 months ago (2010-03-25 23:03:22 UTC) #4
On 2010/03/25 22:28:37, Peter Kasting wrote:
> http://codereview.chromium.org/1369002/diff/1/6
> File chrome/browser/content_setting_bubble_model.cc (right):
> 
> http://codereview.chromium.org/1369002/diff/1/6#newcode187
> chrome/browser/content_setting_bubble_model.cc:187:
> domains[it->second].hosts.push_back(it->first.spec());
> I don't think you want spec() here.
> 
> I think in the bubble it's OK to omit schemes and collapse together e.g.
> "http://foo.com" with "https://foo.com".  So what I think you want is host(),
> and to use a set rather than a vector to hold these.

This will collapse port numbers too, but for this list I think that is
reasonable as well, so changed as suggested.

Thanks! (I'll let try servers run and commit this until morning...)

Powered by Google App Engine
This is Rietveld 408576698