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

Issue 7790021: Open external application dialog should not show for Chrome. (Closed)

Created:
9 years, 3 months ago by benwells
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Mike Lawther (Google)
Visibility:
Public.

Description

Open external application dialog should not show for Chrome. This change prevents the external application dialog from coming up if Chrome detects that it would just start itself. To determine this it uses the shell_integration functionality added for registerProtocolHandler to find out if Chrome is the default handler. BUG=90373 TEST=Unit tests added. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102449

Patch Set 1 #

Total comments: 4

Patch Set 2 : With unit tests #

Total comments: 6

Patch Set 3 : Nits addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -15 lines) Patch
M chrome/browser/external_protocol/external_protocol_handler.h View 1 3 chunks +26 lines, -1 line 0 comments Download
M chrome/browser/external_protocol/external_protocol_handler.cc View 1 2 2 chunks +135 lines, -14 lines 0 comments Download
A chrome/browser/external_protocol/external_protocol_handler_unittest.cc View 1 2 1 chunk +183 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
benwells
WIP: this still needs a unit test added. This will take a little effort as ...
9 years, 3 months ago (2011-08-30 08:08:25 UTC) #1
tony
http://codereview.chromium.org/7790021/diff/1/chrome/browser/external_protocol/external_protocol_handler.cc File chrome/browser/external_protocol/external_protocol_handler.cc (right): http://codereview.chromium.org/7790021/diff/1/chrome/browser/external_protocol/external_protocol_handler.cc#newcode129 chrome/browser/external_protocol/external_protocol_handler.cc:129: namespace { Nit: I would move this to the ...
9 years, 3 months ago (2011-08-30 17:51:26 UTC) #2
benwells
Sorry about the big delay with this, I got sidetracked on other projects. I've added ...
9 years, 3 months ago (2011-09-22 06:59:38 UTC) #3
tony
LGTM, just some style nits. http://codereview.chromium.org/7790021/diff/3001/chrome/browser/external_protocol/external_protocol_handler.cc File chrome/browser/external_protocol/external_protocol_handler.cc (right): http://codereview.chromium.org/7790021/diff/3001/chrome/browser/external_protocol/external_protocol_handler.cc#newcode35 chrome/browser/external_protocol/external_protocol_handler.cc:35: if (delegate == NULL) ...
9 years, 3 months ago (2011-09-22 17:34:38 UTC) #4
benwells
http://codereview.chromium.org/7790021/diff/3001/chrome/browser/external_protocol/external_protocol_handler.cc File chrome/browser/external_protocol/external_protocol_handler.cc (right): http://codereview.chromium.org/7790021/diff/3001/chrome/browser/external_protocol/external_protocol_handler.cc#newcode35 chrome/browser/external_protocol/external_protocol_handler.cc:35: if (delegate == NULL) On 2011/09/22 17:34:38, tony wrote: ...
9 years, 3 months ago (2011-09-23 00:29:51 UTC) #5
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/7790021/10001
9 years, 3 months ago (2011-09-23 03:42:30 UTC) #6
commit-bot: I haz the power
9 years, 3 months ago (2011-09-23 05:04:40 UTC) #7
Change committed as 102449

Powered by Google App Engine
This is Rietveld 408576698