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

Issue 1037006: Finish implementing the geolocation infobar; adds a Learn more link pointing ... (Closed)

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

Description

Finish implementing the geolocation infobar; adds a Learn more link pointing to the (placeholder) help center page. This extends ConfirmInfoBar to support to have optional link support (simple support, i.e. not the inserted mid-label link that LinkInfoBar sports) Note 1: this does not exactly match the mock; the allow/deny buttons and link are swapped. I think this looks nicer, is more consistent with other confirm infobars, and happens to be easier to code Note 2: linux & mac will need follow-up CLs, but will simply ignore the link in the meantime BUG=11246 TEST=browser_tests.exe --gtest_filter=Geol* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41951

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -15 lines) Patch
M chrome/app/resources/locale_settings.grd View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context.cc View 1 2 3 4 5 4 chunks +22 lines, -6 lines 0 comments Download
M chrome/browser/tab_contents/infobar_delegate.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/views/infobars/infobars.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/views/infobars/infobars.cc View 1 2 3 4 5 6 chunks +51 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
joth
jcampan, I think you're the infobar expert, would you mind taking a look over this ...
10 years, 9 months ago (2010-03-17 19:34:30 UTC) #1
jcampan
http://codereview.chromium.org/1037006/diff/12001/13005 File chrome/browser/geolocation/geolocation_permission_context.cc (right): http://codereview.chromium.org/1037006/diff/12001/13005#newcode42 chrome/browser/geolocation/geolocation_permission_context.cc:42: tab_contents_(tab_contents), context_(context), Nit: I think the Google C++ style ...
10 years, 9 months ago (2010-03-17 23:26:20 UTC) #2
joth
Thanks for the review. I'll try and get this committed now unless you have comments ...
10 years, 9 months ago (2010-03-18 11:10:45 UTC) #3
bulach
LGTM thanks joth! few nits and general comments below: http://codereview.chromium.org/1037006/diff/27001/28002 File chrome/browser/views/infobars/infobars.cc (right): http://codereview.chromium.org/1037006/diff/27001/28002#newcode512 chrome/browser/views/infobars/infobars.cc:512: ...
10 years, 9 months ago (2010-03-18 12:13:23 UTC) #4
joth
Cheers! On 2010/03/18 12:13:23, bulach wrote: > LGTM > > thanks joth! few nits and ...
10 years, 9 months ago (2010-03-18 12:30:57 UTC) #5
jcampan
10 years, 9 months ago (2010-03-18 16:00:07 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698