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

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

Issue 291403002: Remove some RenderProcessHost::IsGuest call sites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Android build Created 6 years, 7 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
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_contents_io_thread_client.h" 10 #include "android_webview/browser/aw_contents_io_thread_client.h"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 const GURL& source_origin, 391 const GURL& source_origin,
392 WindowContainerType container_type, 392 WindowContainerType container_type,
393 const GURL& target_url, 393 const GURL& target_url,
394 const content::Referrer& referrer, 394 const content::Referrer& referrer,
395 WindowOpenDisposition disposition, 395 WindowOpenDisposition disposition,
396 const blink::WebWindowFeatures& features, 396 const blink::WebWindowFeatures& features,
397 bool user_gesture, 397 bool user_gesture,
398 bool opener_suppressed, 398 bool opener_suppressed,
399 content::ResourceContext* context, 399 content::ResourceContext* context,
400 int render_process_id, 400 int render_process_id,
401 bool is_guest,
402 int opener_id, 401 int opener_id,
403 bool* no_javascript_access) { 402 bool* no_javascript_access) {
404 // We unconditionally allow popup windows at this stage and will give 403 // We unconditionally allow popup windows at this stage and will give
405 // the embedder the opporunity to handle displaying of the popup in 404 // the embedder the opporunity to handle displaying of the popup in
406 // WebContentsDelegate::AddContents (via the 405 // WebContentsDelegate::AddContents (via the
407 // AwContentsClient.onCreateWindow callback). 406 // AwContentsClient.onCreateWindow callback).
408 // Note that if the embedder has blocked support for creating popup 407 // Note that if the embedder has blocked support for creating popup
409 // windows through AwSettings, then we won't get to this point as 408 // windows through AwSettings, then we won't get to this point as
410 // the popup creation will have been blocked at the WebKit level. 409 // the popup creation will have been blocked at the WebKit level.
411 if (no_javascript_access) { 410 if (no_javascript_access) {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 498
500 #if defined(VIDEO_HOLE) 499 #if defined(VIDEO_HOLE)
501 content::ExternalVideoSurfaceContainer* 500 content::ExternalVideoSurfaceContainer*
502 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 501 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
503 content::WebContents* web_contents) { 502 content::WebContents* web_contents) {
504 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents); 503 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents);
505 } 504 }
506 #endif 505 #endif
507 506
508 } // namespace android_webview 507 } // 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