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

Side by Side Diff: webkit/plugins/ppapi/ppb_video_capture_impl.h

Issue 8468026: Cleanup: Remove unneeded forward declarations in webkit/plugins/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_CAPTURE_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_CAPTURE_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_CAPTURE_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_CAPTURE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_callback_factory.h" 12 #include "base/memory/scoped_callback_factory.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "media/video/capture/video_capture.h" 14 #include "media/video/capture/video_capture.h"
15 #include "ppapi/c/dev/ppp_video_capture_dev.h" 15 #include "ppapi/c/dev/ppp_video_capture_dev.h"
16 #include "ppapi/shared_impl/resource.h" 16 #include "ppapi/shared_impl/resource.h"
17 #include "ppapi/thunk/ppb_video_capture_api.h" 17 #include "ppapi/thunk/ppb_video_capture_api.h"
18 #include "webkit/plugins/ppapi/plugin_delegate.h" 18 #include "webkit/plugins/ppapi/plugin_delegate.h"
19 #include "webkit/plugins/ppapi/ppb_buffer_impl.h" 19 #include "webkit/plugins/ppapi/ppb_buffer_impl.h"
20 20
21 struct PP_VideoCaptureDeviceInfo_Dev; 21 struct PP_VideoCaptureDeviceInfo_Dev;
22 struct PPB_VideoCapture_Dev;
23 22
24 namespace webkit { 23 namespace webkit {
25 namespace ppapi { 24 namespace ppapi {
26 25
27 class PPB_VideoCapture_Impl : public ::ppapi::Resource, 26 class PPB_VideoCapture_Impl : public ::ppapi::Resource,
28 public ::ppapi::thunk::PPB_VideoCapture_API, 27 public ::ppapi::thunk::PPB_VideoCapture_API,
29 public media::VideoCapture::EventHandler { 28 public media::VideoCapture::EventHandler {
30 public: 29 public:
31 explicit PPB_VideoCapture_Impl(PP_Instance instance); 30 explicit PPB_VideoCapture_Impl(PP_Instance instance);
32 virtual ~PPB_VideoCapture_Impl(); 31 virtual ~PPB_VideoCapture_Impl();
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // |EventHandler| yet. It can be removed if/when |EventHandler| is made to be 81 // |EventHandler| yet. It can be removed if/when |EventHandler| is made to be
83 // refcounted (and made into a "member" of this object instead). 82 // refcounted (and made into a "member" of this object instead).
84 bool is_dead_; 83 bool is_dead_;
85 84
86 DISALLOW_COPY_AND_ASSIGN(PPB_VideoCapture_Impl); 85 DISALLOW_COPY_AND_ASSIGN(PPB_VideoCapture_Impl);
87 }; 86 };
88 87
89 } // namespace ppapi 88 } // namespace ppapi
90 } // namespace webkit 89 } // namespace webkit
91 90
92 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ 91 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_loader_impl.h ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698