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

Side by Side Diff: content/renderer/pepper/pepper_platform_image_2d_impl.h

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, 4 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) 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 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_IMAGE_2D_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_IMAGE_2D_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_IMAGE_2D_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_IMAGE_2D_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "webkit/plugins/ppapi/plugin_delegate.h" 9 #include "content/renderer/pepper/plugin_delegate.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 // Implements the Image2D using a TransportDIB. 13 // Implements the Image2D using a TransportDIB.
14 class PepperPlatformImage2DImpl 14 class PepperPlatformImage2DImpl
15 : public webkit::ppapi::PluginDelegate::PlatformImage2D { 15 : public webkit::ppapi::PluginDelegate::PlatformImage2D {
16 public: 16 public:
17 virtual ~PepperPlatformImage2DImpl(); 17 virtual ~PepperPlatformImage2DImpl();
18 18
19 // Factory function that properly allocates a TransportDIB according to 19 // Factory function that properly allocates a TransportDIB according to
(...skipping 14 matching lines...) Expand all
34 int width_; 34 int width_;
35 int height_; 35 int height_;
36 scoped_ptr<TransportDIB> dib_; 36 scoped_ptr<TransportDIB> dib_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(PepperPlatformImage2DImpl); 38 DISALLOW_COPY_AND_ASSIGN(PepperPlatformImage2DImpl);
39 }; 39 };
40 40
41 } // namespace content 41 } // namespace content
42 42
43 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_IMAGE_2D_IMPL_H_ 43 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_IMAGE_2D_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698