OLD | NEW |
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_AW_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 content::ResourceType resource_type, | 98 content::ResourceType resource_type, |
99 bool overridable, | 99 bool overridable, |
100 bool strict_enforcement, | 100 bool strict_enforcement, |
101 bool expired_previous_decision, | 101 bool expired_previous_decision, |
102 const base::Callback<void(bool)>& callback, | 102 const base::Callback<void(bool)>& callback, |
103 content::CertificateRequestResultType* result) override; | 103 content::CertificateRequestResultType* result) override; |
104 void SelectClientCertificate( | 104 void SelectClientCertificate( |
105 content::WebContents* web_contents, | 105 content::WebContents* web_contents, |
106 net::SSLCertRequestInfo* cert_request_info, | 106 net::SSLCertRequestInfo* cert_request_info, |
107 scoped_ptr<content::ClientCertificateDelegate> delegate) override; | 107 scoped_ptr<content::ClientCertificateDelegate> delegate) override; |
108 void RequestPermission( | |
109 content::PermissionType permission, | |
110 content::WebContents* web_contents, | |
111 int bridge_id, | |
112 const GURL& requesting_frame, | |
113 bool user_gesture, | |
114 const base::Callback<void(content::PermissionStatus)>& callback) override; | |
115 void CancelPermissionRequest(content::PermissionType permission, | |
116 content::WebContents* web_contents, | |
117 int bridge_id, | |
118 const GURL& origin) override; | |
119 bool CanCreateWindow(const GURL& opener_url, | 108 bool CanCreateWindow(const GURL& opener_url, |
120 const GURL& opener_top_level_frame_url, | 109 const GURL& opener_top_level_frame_url, |
121 const GURL& source_origin, | 110 const GURL& source_origin, |
122 WindowContainerType container_type, | 111 WindowContainerType container_type, |
123 const GURL& target_url, | 112 const GURL& target_url, |
124 const content::Referrer& referrer, | 113 const content::Referrer& referrer, |
125 WindowOpenDisposition disposition, | 114 WindowOpenDisposition disposition, |
126 const blink::WebWindowFeatures& features, | 115 const blink::WebWindowFeatures& features, |
127 bool user_gesture, | 116 bool user_gesture, |
128 bool opener_suppressed, | 117 bool opener_suppressed, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 149 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
161 | 150 |
162 JniDependencyFactory* native_factory_; | 151 JniDependencyFactory* native_factory_; |
163 | 152 |
164 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 153 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
165 }; | 154 }; |
166 | 155 |
167 } // namespace android_webview | 156 } // namespace android_webview |
168 | 157 |
169 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 158 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |