| 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" |
| 8 #include "content/renderer/pepper/ppapi_plugin_instance_impl.h" |
| 7 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" | 9 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" |
| 8 #include "ppapi/host/dispatch_host_message.h" | 10 #include "ppapi/host/dispatch_host_message.h" |
| 9 #include "ppapi/host/ppapi_host.h" | 11 #include "ppapi/host/ppapi_host.h" |
| 10 #include "ppapi/proxy/host_dispatcher.h" | 12 #include "ppapi/proxy/host_dispatcher.h" |
| 11 #include "ppapi/proxy/ppapi_messages.h" | 13 #include "ppapi/proxy/ppapi_messages.h" |
| 12 #include "ppapi/shared_impl/host_resource.h" | 14 #include "ppapi/shared_impl/host_resource.h" |
| 13 #include "ppapi/thunk/enter.h" | 15 #include "ppapi/thunk/enter.h" |
| 14 #include "ppapi/thunk/ppb_buffer_api.h" | 16 #include "ppapi/thunk/ppb_buffer_api.h" |
| 15 #include "third_party/WebKit/public/web/WebDocument.h" | 17 #include "third_party/WebKit/public/web/WebDocument.h" |
| 16 #include "third_party/WebKit/public/web/WebElement.h" | 18 #include "third_party/WebKit/public/web/WebElement.h" |
| 17 #include "third_party/WebKit/public/web/WebPluginContainer.h" | 19 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
| 18 #include "webkit/plugins/ppapi/host_globals.h" | |
| 19 #include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h" | |
| 20 | 20 |
| 21 using ppapi::HostResource; | 21 using ppapi::HostResource; |
| 22 using ppapi::TrackedCallback; | 22 using ppapi::TrackedCallback; |
| 23 using ppapi::thunk::EnterResourceNoLock; | 23 using ppapi::thunk::EnterResourceNoLock; |
| 24 using ppapi::thunk::PPB_Buffer_API; | 24 using ppapi::thunk::PPB_Buffer_API; |
| 25 using webkit::ppapi::HostGlobals; | 25 using webkit::ppapi::HostGlobals; |
| 26 using webkit::ppapi::PPB_Buffer_Impl; | 26 using webkit::ppapi::PPB_Buffer_Impl; |
| 27 | 27 |
| 28 namespace { | 28 namespace { |
| 29 | 29 |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 PepperVideoCaptureHost::BufferInfo::BufferInfo() | 418 PepperVideoCaptureHost::BufferInfo::BufferInfo() |
| 419 : in_use(false), | 419 : in_use(false), |
| 420 data(NULL), | 420 data(NULL), |
| 421 buffer() { | 421 buffer() { |
| 422 } | 422 } |
| 423 | 423 |
| 424 PepperVideoCaptureHost::BufferInfo::~BufferInfo() { | 424 PepperVideoCaptureHost::BufferInfo::~BufferInfo() { |
| 425 } | 425 } |
| 426 | 426 |
| 427 } // namespace content | 427 } // namespace content |
| OLD | NEW |