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

Side by Side Diff: webkit/plugins/ppapi/ppb_video_layer_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
« no previous file with comments | « webkit/plugins/ppapi/ppb_video_decoder_impl.h ('k') | webkit/plugins/ppapi/ppb_widget_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_LAYER_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ppapi/shared_impl/resource.h" 9 #include "ppapi/shared_impl/resource.h"
10 #include "ppapi/thunk/ppb_video_layer_api.h" 10 #include "ppapi/thunk/ppb_video_layer_api.h"
11 11
12 struct PP_Rect;
13 struct PP_Size;
14
15 namespace webkit { 12 namespace webkit {
16 namespace ppapi { 13 namespace ppapi {
17 14
18 class PPB_VideoLayer_Impl : public ::ppapi::Resource, 15 class PPB_VideoLayer_Impl : public ::ppapi::Resource,
19 public ::ppapi::thunk::PPB_VideoLayer_API { 16 public ::ppapi::thunk::PPB_VideoLayer_API {
20 public: 17 public:
21 virtual ~PPB_VideoLayer_Impl(); 18 virtual ~PPB_VideoLayer_Impl();
22 19
23 static PP_Resource Create(PP_Instance instance, 20 static PP_Resource Create(PP_Instance instance,
24 PP_VideoLayerMode_Dev mode); 21 PP_VideoLayerMode_Dev mode);
25 22
26 // Resource override. 23 // Resource override.
27 virtual PPB_VideoLayer_API* AsPPB_VideoLayer_API() OVERRIDE; 24 virtual PPB_VideoLayer_API* AsPPB_VideoLayer_API() OVERRIDE;
28 25
29 // Derived classes must implement PPB_VideoLayer_API. 26 // Derived classes must implement PPB_VideoLayer_API.
30 27
31 protected: 28 protected:
32 explicit PPB_VideoLayer_Impl(PP_Instance instance); 29 explicit PPB_VideoLayer_Impl(PP_Instance instance);
33 30
34 private: 31 private:
35 DISALLOW_COPY_AND_ASSIGN(PPB_VideoLayer_Impl); 32 DISALLOW_COPY_AND_ASSIGN(PPB_VideoLayer_Impl);
36 }; 33 };
37 34
38 } // namespace ppapi 35 } // namespace ppapi
39 } // namespace webkit 36 } // namespace webkit
40 37
41 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_ 38 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_video_decoder_impl.h ('k') | webkit/plugins/ppapi/ppb_widget_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698