| 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 #include "android_webview/browser/aw_content_browser_client.h" | 5 #include "android_webview/browser/aw_content_browser_client.h" |
| 6 | 6 |
| 7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
| 8 #include "android_webview/browser/aw_browser_main_parts.h" | 8 #include "android_webview/browser/aw_browser_main_parts.h" |
| 9 #include "android_webview/browser/aw_contents_client_bridge_base.h" | 9 #include "android_webview/browser/aw_contents_client_bridge_base.h" |
| 10 #include "android_webview/browser/aw_cookie_access_policy.h" | 10 #include "android_webview/browser/aw_cookie_access_policy.h" |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 | 281 |
| 282 void AwContentBrowserClient::CancelDesktopNotification( | 282 void AwContentBrowserClient::CancelDesktopNotification( |
| 283 int render_process_id, | 283 int render_process_id, |
| 284 int render_view_id, | 284 int render_view_id, |
| 285 int notification_id) { | 285 int notification_id) { |
| 286 NOTREACHED() << "Android WebView does not support desktop notifications."; | 286 NOTREACHED() << "Android WebView does not support desktop notifications."; |
| 287 } | 287 } |
| 288 | 288 |
| 289 bool AwContentBrowserClient::CanCreateWindow( | 289 bool AwContentBrowserClient::CanCreateWindow( |
| 290 const GURL& opener_url, | 290 const GURL& opener_url, |
| 291 const GURL& opener_top_level_frame_url, |
| 291 const GURL& source_origin, | 292 const GURL& source_origin, |
| 292 WindowContainerType container_type, | 293 WindowContainerType container_type, |
| 293 const GURL& target_url, | 294 const GURL& target_url, |
| 294 const content::Referrer& referrer, | 295 const content::Referrer& referrer, |
| 295 WindowOpenDisposition disposition, | 296 WindowOpenDisposition disposition, |
| 296 const WebKit::WebWindowFeatures& features, | 297 const WebKit::WebWindowFeatures& features, |
| 297 bool user_gesture, | 298 bool user_gesture, |
| 298 bool opener_suppressed, | 299 bool opener_suppressed, |
| 299 content::ResourceContext* context, | 300 content::ResourceContext* context, |
| 300 int render_process_id, | 301 int render_process_id, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 bool AwContentBrowserClient::AllowPepperSocketAPI( | 381 bool AwContentBrowserClient::AllowPepperSocketAPI( |
| 381 content::BrowserContext* browser_context, | 382 content::BrowserContext* browser_context, |
| 382 const GURL& url, | 383 const GURL& url, |
| 383 bool private_api, | 384 bool private_api, |
| 384 const content::SocketPermissionRequest& params) { | 385 const content::SocketPermissionRequest& params) { |
| 385 NOTREACHED() << "Android WebView does not support plugins"; | 386 NOTREACHED() << "Android WebView does not support plugins"; |
| 386 return false; | 387 return false; |
| 387 } | 388 } |
| 388 | 389 |
| 389 } // namespace android_webview | 390 } // namespace android_webview |
| OLD | NEW |