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

Side by Side Diff: content/renderer/pepper/pepper_video_destination_host.cc

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun Created 7 years, 5 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 | Annotate | Revision Log
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/renderer/pepper/pepper_video_destination_host.h" 5 #include "content/renderer/pepper/pepper_video_destination_host.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "content/public/renderer/renderer_ppapi_host.h" 8 #include "content/public/renderer/renderer_ppapi_host.h"
9 #include "content/renderer/pepper/ppb_image_data_impl.h"
9 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/host/dispatch_host_message.h" 11 #include "ppapi/host/dispatch_host_message.h"
11 #include "ppapi/host/host_message_context.h" 12 #include "ppapi/host/host_message_context.h"
12 #include "ppapi/host/ppapi_host.h" 13 #include "ppapi/host/ppapi_host.h"
13 #include "ppapi/proxy/ppapi_messages.h" 14 #include "ppapi/proxy/ppapi_messages.h"
14 #include "ppapi/thunk/enter.h" 15 #include "ppapi/thunk/enter.h"
15 #include "ppapi/thunk/ppb_image_data_api.h" 16 #include "ppapi/thunk/ppb_image_data_api.h"
16 #include "webkit/plugins/ppapi/ppb_image_data_impl.h"
17 17
18 using ppapi::host::HostMessageContext; 18 using ppapi::host::HostMessageContext;
19 using ppapi::host::ReplyMessageContext; 19 using ppapi::host::ReplyMessageContext;
20 20
21 namespace content { 21 namespace content {
22 22
23 PepperVideoDestinationHost::PepperVideoDestinationHost( 23 PepperVideoDestinationHost::PepperVideoDestinationHost(
24 RendererPpapiHost* host, 24 RendererPpapiHost* host,
25 PP_Instance instance, 25 PP_Instance instance,
26 PP_Resource resource) 26 PP_Resource resource)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 return PP_OK; 98 return PP_OK;
99 } 99 }
100 100
101 int32_t PepperVideoDestinationHost::OnHostMsgClose( 101 int32_t PepperVideoDestinationHost::OnHostMsgClose(
102 HostMessageContext* context) { 102 HostMessageContext* context) {
103 frame_writer_.reset(NULL); 103 frame_writer_.reset(NULL);
104 return PP_OK; 104 return PP_OK;
105 } 105 }
106 106
107 } // namespace content 107 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_video_capture_host.cc ('k') | content/renderer/pepper/pepper_video_source_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698