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

Side by Side Diff: android_webview/browser/renderer_host/aw_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: Remove unnecessary DCHECK 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
« 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) OVERRIDE; 54 int route_id,
55 bool initiated_by_user_gesture) OVERRIDE;
55 virtual void OnResponseStarted( 56 virtual void OnResponseStarted(
56 net::URLRequest* request, 57 net::URLRequest* request,
57 content::ResourceContext* resource_context, 58 content::ResourceContext* resource_context,
58 content::ResourceResponse* response, 59 content::ResourceResponse* response,
59 IPC::Sender* sender) OVERRIDE; 60 IPC::Sender* sender) OVERRIDE;
60 61
61 virtual void OnRequestRedirected( 62 virtual void OnRequestRedirected(
62 const GURL& redirect_url, 63 const GURL& redirect_url,
63 net::URLRequest* request, 64 net::URLRequest* request,
64 content::ResourceContext* resource_context, 65 content::ResourceContext* resource_context,
(...skipping 29 matching lines...) Expand all
94 95
95 // Only accessed on the IO thread. 96 // Only accessed on the IO thread.
96 PendingThrottleMap pending_throttles_; 97 PendingThrottleMap pending_throttles_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); 99 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate);
99 }; 100 };
100 101
101 } // namespace android_webview 102 } // namespace android_webview
102 103
103 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ 104 #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