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

Unified Diff: content/renderer/media/native_handle_impl.cc

Issue 13890012: Integrate VDA with WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/native_handle_impl.cc
diff --git a/content/public/browser/javascript_dialog_manager.cc b/content/renderer/media/native_handle_impl.cc
similarity index 50%
copy from content/public/browser/javascript_dialog_manager.cc
copy to content/renderer/media/native_handle_impl.cc
index 0a58d9ffb3817aaa9045086bd13d92a9a4af4148..c25c1bfe6b26fed3274be384998e19da72ee98d1 100644
--- a/content/public/browser/javascript_dialog_manager.cc
+++ b/content/renderer/media/native_handle_impl.cc
@@ -2,15 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/browser/javascript_dialog_manager.h"
+#include "content/renderer/media/native_handle_impl.h"
namespace content {
-bool JavaScriptDialogManager::HandleJavaScriptDialog(
- WebContents* web_contents,
- bool accept,
- const string16* prompt_override) {
- return false;
+void NativeHandleImpl::SetHandle(void* handle) {
+ frame_ = static_cast<media::VideoFrame*>(handle);
}
+void* NativeHandleImpl::GetHandle() { return frame_.get(); }
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698