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

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.h

Issue 131783012: Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: kalman comment Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/resource_dispatcher_host_delegate.h
diff --git a/content/public/browser/resource_dispatcher_host_delegate.h b/content/public/browser/resource_dispatcher_host_delegate.h
index 0d0eebc49163eb7edaa05126ba7d8f362a1cbb2a..0260fa64f0a2f85098d1eccdffcb6df694a9dff6 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.h
+++ b/content/public/browser/resource_dispatcher_host_delegate.h
@@ -86,7 +86,8 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate {
// guarantee that the app successfully handled it.
virtual bool HandleExternalProtocol(const GURL& url,
int child_id,
- int route_id);
+ int route_id,
+ bool user_gesture);
Jói 2014/03/28 22:19:40 A boolean flag with this name does not make it 100
meacer 2014/03/28 23:13:57 Done.
// Returns true if we should force the given resource to be downloaded.
// Otherwise, the content layer decides.

Powered by Google App Engine
This is Rietveld 408576698