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

Issue 2884040: Rename ExternalProtocolHandler::OnUserGesture -> PermitLaunchUrl & call from EFD::HandleRequest (Closed)

Created:
10 years, 5 months ago by rafaelw
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, brettw-cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Rename ExternalProtocolHandler::OnUserGesture -> PermitLaunchUrl & call from EFD::HandleRequest. Extension functions should be allowed to make repeat requests to external protocol handling without needing a user gesture (see bug). This allows them to do so (and changes the method name for clarity). BUG=39178 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53846

Patch Set 1 #

Total comments: 1

Patch Set 2 : cr changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/external_protocol_handler.h View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/external_protocol_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
rafaelw
10 years, 5 months ago (2010-07-26 23:18:26 UTC) #1
Peter Kasting
http://codereview.chromium.org/2884040/diff/1/2 File chrome/browser/extensions/extension_function_dispatcher.cc (right): http://codereview.chromium.org/2884040/diff/1/2#newcode417 chrome/browser/extensions/extension_function_dispatcher.cc:417: // APIs to fire repeated external protocol handlers. See ...
10 years, 5 months ago (2010-07-26 23:21:13 UTC) #2
rafaelw
10 years, 5 months ago (2010-07-27 00:01:44 UTC) #3
renamed to PermitLaunchUrl

(rubber-stamp lgtm from pkasting on gtalk).

Powered by Google App Engine
This is Rietveld 408576698