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

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

Issue 2299883007: Remove video overlay support from WebView (Closed)
Patch Set: 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 // is used to post onPageStarted. We handle shouldOverrideUrlLoading 512 // is used to post onPageStarted. We handle shouldOverrideUrlLoading
513 // via a sync IPC. 513 // via a sync IPC.
514 if (navigation_handle->IsInMainFrame()) { 514 if (navigation_handle->IsInMainFrame()) {
515 throttles.push_back( 515 throttles.push_back(
516 navigation_interception::InterceptNavigationDelegate::CreateThrottleFor( 516 navigation_interception::InterceptNavigationDelegate::CreateThrottleFor(
517 navigation_handle)); 517 navigation_handle));
518 } 518 }
519 return throttles; 519 return throttles;
520 } 520 }
521 521
522 #if defined(VIDEO_HOLE)
523 content::ExternalVideoSurfaceContainer*
524 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
525 content::WebContents* web_contents) {
526 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents);
527 }
528 #endif
529
530 } // namespace android_webview 522 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698