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

Side by Side Diff: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h

Issue 426713002: 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: Rebase Created 6 years, 4 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
« no previous file with comments | « no previous file | android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ 5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _
6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ 6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 int route_id, 44 int route_id,
45 int request_id, 45 int request_id,
46 bool is_content_initiated, 46 bool is_content_initiated,
47 bool must_download, 47 bool must_download,
48 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 48 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
49 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 49 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
50 net::AuthChallengeInfo* auth_info, 50 net::AuthChallengeInfo* auth_info,
51 net::URLRequest* request) OVERRIDE; 51 net::URLRequest* request) OVERRIDE;
52 virtual bool HandleExternalProtocol(const GURL& url, 52 virtual bool HandleExternalProtocol(const GURL& url,
53 int child_id, 53 int child_id,
54 int route_id, 54 int route_id) OVERRIDE;
55 bool initiated_by_user_gesture) OVERRIDE;
56 virtual void OnResponseStarted( 55 virtual void OnResponseStarted(
57 net::URLRequest* request, 56 net::URLRequest* request,
58 content::ResourceContext* resource_context, 57 content::ResourceContext* resource_context,
59 content::ResourceResponse* response, 58 content::ResourceResponse* response,
60 IPC::Sender* sender) OVERRIDE; 59 IPC::Sender* sender) OVERRIDE;
61 60
62 virtual void OnRequestRedirected( 61 virtual void OnRequestRedirected(
63 const GURL& redirect_url, 62 const GURL& redirect_url,
64 net::URLRequest* request, 63 net::URLRequest* request,
65 content::ResourceContext* resource_context, 64 content::ResourceContext* resource_context,
(...skipping 29 matching lines...) Expand all
95 94
96 // Only accessed on the IO thread. 95 // Only accessed on the IO thread.
97 PendingThrottleMap pending_throttles_; 96 PendingThrottleMap pending_throttles_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); 98 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate);
100 }; 99 };
101 100
102 } // namespace android_webview 101 } // namespace android_webview
103 102
104 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ 103 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698