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

Side by Side Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h

Issue 221283006: Revert of Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 int child_id, 58 int child_id,
59 int route_id, 59 int route_id,
60 int request_id, 60 int request_id,
61 bool is_content_initiated, 61 bool is_content_initiated,
62 bool must_download, 62 bool must_download,
63 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 63 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
64 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 64 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
65 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; 65 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE;
66 virtual bool HandleExternalProtocol(const GURL& url, 66 virtual bool HandleExternalProtocol(const GURL& url,
67 int child_id, 67 int child_id,
68 int route_id, 68 int route_id) OVERRIDE;
69 bool initiated_by_user_gesture) OVERRIDE;
70 virtual bool ShouldForceDownloadResource( 69 virtual bool ShouldForceDownloadResource(
71 const GURL& url, const std::string& mime_type) OVERRIDE; 70 const GURL& url, const std::string& mime_type) OVERRIDE;
72 virtual bool ShouldInterceptResourceAsStream( 71 virtual bool ShouldInterceptResourceAsStream(
73 content::ResourceContext* resource_context, 72 content::ResourceContext* resource_context,
74 const GURL& url, 73 const GURL& url,
75 const std::string& mime_type, 74 const std::string& mime_type,
76 GURL* origin, 75 GURL* origin,
77 std::string* target_id) OVERRIDE; 76 std::string* target_id) OVERRIDE;
78 virtual void OnStreamCreated( 77 virtual void OnStreamCreated(
79 content::ResourceContext* resource_context, 78 content::ResourceContext* resource_context,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 115
117 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 116 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
118 scoped_refptr<SafeBrowsingService> safe_browsing_; 117 scoped_refptr<SafeBrowsingService> safe_browsing_;
119 scoped_refptr<extensions::UserScriptListener> user_script_listener_; 118 scoped_refptr<extensions::UserScriptListener> user_script_listener_;
120 prerender::PrerenderTracker* prerender_tracker_; 119 prerender::PrerenderTracker* prerender_tracker_;
121 120
122 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 121 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
123 }; 122 };
124 123
125 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 124 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698