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

Side by Side Diff: android_webview/browser/aw_content_browser_client.cc

Issue 23749006: Merge 222640 "Use the top-level URL for popup blocking." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 years, 3 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 #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
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
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
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698