| 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
|
|
|