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

Issue 5315006: chromeos: Fix DOMUI about:credits link. (Closed)

Created:
10 years, 1 month ago by Daniel Erat
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews), ben+cc_chromium.org
Visibility:
Public.

Description

chromeos: Fix DOMUI about:credits link. The renderer doesn't let us link to about:credits, so make the DOMUI settings page link to chrome://about/credits instead (and initialize the about handler's data source when the settings page is opened). Also open these links in new tabs instead of in the current one. BUG=chromium-os:6728 TEST=built for chrome os and linux and checked that credits links work in both cases Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70246

Patch Set 1 #

Total comments: 1

Patch Set 2 : add a DOMUI handler for chrome://credits #

Patch Set 3 : merge #

Patch Set 4 : drop chrome://credits approach #

Total comments: 2

Patch Set 5 : abstract out AboutSource init code from WillHandleBrowserAboutURL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -15 lines) Patch
M chrome/browser/browser_about_handler.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 4 2 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/dom_ui/options/about_page_handler.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/dom_ui/options/options_ui.cc View 1 2 3 4 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/about_page.html View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Daniel Erat
chrome://about/credits worked after all. When I tried it earlier, I think I just edited the ...
10 years, 1 month ago (2010-11-24 23:39:44 UTC) #1
tony
LGTM. I was originally confused because I couldn't find this page in linux chromium, but ...
10 years, 1 month ago (2010-11-24 23:52:03 UTC) #2
Daniel Erat
Ugh. So the reason it wasn't working seems to be that chrome://about/credits is unloadable until ...
10 years, 1 month ago (2010-11-25 01:51:53 UTC) #3
Daniel Erat
Okay, it looks like this works with the existing about handler as long as I ...
9 years, 12 months ago (2010-12-28 22:11:50 UTC) #4
arv (Not doing code reviews)
http://codereview.chromium.org/5315006/diff/10001/chrome/browser/dom_ui/options/options_ui.cc File chrome/browser/dom_ui/options/options_ui.cc (right): http://codereview.chromium.org/5315006/diff/10001/chrome/browser/dom_ui/options/options_ui.cc#newcode218 chrome/browser/dom_ui/options/options_ui.cc:218: WillHandleBrowserAboutURL(&about_credits_url, GetProfile()); On 2010/12/28 22:11:50, Daniel Erat wrote: > ...
9 years, 12 months ago (2010-12-28 22:28:08 UTC) #5
Daniel Erat
On 2010/12/28 22:28:08, arv wrote: > http://codereview.chromium.org/5315006/diff/10001/chrome/browser/dom_ui/options/options_ui.cc > File chrome/browser/dom_ui/options/options_ui.cc (right): > > http://codereview.chromium.org/5315006/diff/10001/chrome/browser/dom_ui/options/options_ui.cc#newcode218 > ...
9 years, 12 months ago (2010-12-28 22:39:23 UTC) #6
arv (Not doing code reviews)
9 years, 12 months ago (2010-12-28 23:10:12 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698