OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_capture_host.h" | 5 #include "content/renderer/pepper/pepper_video_capture_host.h" |
6 | 6 |
7 #include "content/renderer/pepper/host_globals.h" | 7 #include "content/renderer/pepper/host_globals.h" |
8 #include "content/renderer/pepper/pepper_media_device_manager.h" | 8 #include "content/renderer/pepper/pepper_media_device_manager.h" |
9 #include "content/renderer/pepper/pepper_platform_video_capture.h" | 9 #include "content/renderer/pepper/pepper_platform_video_capture.h" |
10 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 10 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
11 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" | 11 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" |
12 #include "content/renderer/render_view_impl.h" | 12 #include "content/renderer/render_view_impl.h" |
13 #include "media/base/limits.h" | 13 #include "media/base/limits.h" |
| 14 #include "media/base/video_frame.h" |
14 #include "ppapi/host/dispatch_host_message.h" | 15 #include "ppapi/host/dispatch_host_message.h" |
15 #include "ppapi/host/ppapi_host.h" | 16 #include "ppapi/host/ppapi_host.h" |
16 #include "ppapi/proxy/host_dispatcher.h" | 17 #include "ppapi/proxy/host_dispatcher.h" |
17 #include "ppapi/proxy/ppapi_messages.h" | 18 #include "ppapi/proxy/ppapi_messages.h" |
18 #include "ppapi/shared_impl/host_resource.h" | 19 #include "ppapi/shared_impl/host_resource.h" |
19 #include "ppapi/thunk/enter.h" | 20 #include "ppapi/thunk/enter.h" |
20 #include "ppapi/thunk/ppb_buffer_api.h" | 21 #include "ppapi/thunk/ppb_buffer_api.h" |
21 | 22 |
22 using ppapi::HostResource; | 23 using ppapi::HostResource; |
23 using ppapi::TrackedCallback; | 24 using ppapi::TrackedCallback; |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 PepperVideoCaptureHost::BufferInfo::BufferInfo() | 435 PepperVideoCaptureHost::BufferInfo::BufferInfo() |
435 : in_use(false), | 436 : in_use(false), |
436 data(NULL), | 437 data(NULL), |
437 buffer() { | 438 buffer() { |
438 } | 439 } |
439 | 440 |
440 PepperVideoCaptureHost::BufferInfo::~BufferInfo() { | 441 PepperVideoCaptureHost::BufferInfo::~BufferInfo() { |
441 } | 442 } |
442 | 443 |
443 } // namespace content | 444 } // namespace content |
OLD | NEW |