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

Side by Side 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698