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

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

Issue 2299883007: Remove video overlay support from WebView (Closed)
Patch Set: Removed another external_video_surface reference Created 4 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
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 <utility> 7 #include <utility>
8 8
9 #include "android_webview/browser/aw_browser_context.h" 9 #include "android_webview/browser/aw_browser_context.h"
10 #include "android_webview/browser/aw_browser_main_parts.h" 10 #include "android_webview/browser/aw_browser_main_parts.h"
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 // is used to post onPageStarted. We handle shouldOverrideUrlLoading 514 // is used to post onPageStarted. We handle shouldOverrideUrlLoading
515 // via a sync IPC. 515 // via a sync IPC.
516 if (navigation_handle->IsInMainFrame()) { 516 if (navigation_handle->IsInMainFrame()) {
517 throttles.push_back( 517 throttles.push_back(
518 navigation_interception::InterceptNavigationDelegate::CreateThrottleFor( 518 navigation_interception::InterceptNavigationDelegate::CreateThrottleFor(
519 navigation_handle)); 519 navigation_handle));
520 } 520 }
521 return throttles; 521 return throttles;
522 } 522 }
523 523
524 #if defined(VIDEO_HOLE)
525 content::ExternalVideoSurfaceContainer*
526 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
527 content::WebContents* web_contents) {
528 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents);
529 }
530 #endif
531
532 } // namespace android_webview 524 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | android_webview/browser/jni_dependency_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698