OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "content/public/browser/javascript_dialog_manager.h" | 5 #include "content/renderer/media/native_handle_impl.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 bool JavaScriptDialogManager::HandleJavaScriptDialog( | 9 void NativeHandleImpl::SetHandle(void* handle) { |
10 WebContents* web_contents, | 10 frame_ = static_cast<media::VideoFrame*>(handle); |
11 bool accept, | |
12 const string16* prompt_override) { | |
13 return false; | |
14 } | 11 } |
15 | 12 |
| 13 void* NativeHandleImpl::GetHandle() { return frame_.get(); } |
| 14 |
16 } // namespace content | 15 } // namespace content |
OLD | NEW |