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

Side by Side Diff: ppapi/shared_impl/image_data_impl.h

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « ppapi/shared_impl/id_assignment.h ('k') | ppapi/shared_impl/input_event_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 PPAPI_SHARED_IMPL_IMAGE_DATA_IMPL_H_ 5 #ifndef PPAPI_SHARED_IMPL_IMAGE_DATA_IMPL_H_
6 #define PPAPI_SHARED_IMPL_IMAGE_DATA_IMPL_H_ 6 #define PPAPI_SHARED_IMPL_IMAGE_DATA_IMPL_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/ppb_image_data.h" 9 #include "ppapi/c/ppb_image_data.h"
10 #include "ppapi/shared_impl/ppapi_shared_export.h"
10 11
11 namespace ppapi { 12 namespace ppapi {
12 13
13 // Contains the implementation of some simple image data functions that are 14 // Contains the implementation of some simple image data functions that are
14 // shared between the proxy and Chrome's implementation. Since these functions 15 // shared between the proxy and Chrome's implementation. Since these functions
15 // are just lists of what we support, it's much easier to just have the same 16 // are just lists of what we support, it's much easier to just have the same
16 // code run in the plugin process than to proxy it. 17 // code run in the plugin process than to proxy it.
17 // 18 //
18 // It's possible the implementation will get more complex. In this case, it's 19 // It's possible the implementation will get more complex. In this case, it's
19 // probably best to have some kind of "configuration" message that the renderer 20 // probably best to have some kind of "configuration" message that the renderer
20 // sends to the plugin process on startup that contains all of these kind of 21 // sends to the plugin process on startup that contains all of these kind of
21 // settings. 22 // settings.
22 class ImageDataImpl { 23 class PPAPI_SHARED_EXPORT ImageDataImpl {
23 public: 24 public:
24 static PP_ImageDataFormat GetNativeImageDataFormat(); 25 static PP_ImageDataFormat GetNativeImageDataFormat();
25 static bool IsImageDataFormatSupported(PP_ImageDataFormat format); 26 static bool IsImageDataFormatSupported(PP_ImageDataFormat format);
26 }; 27 };
27 28
28 } // namespace ppapi 29 } // namespace ppapi
29 30
30 #endif // PPAPI_SHARED_IMPL_IMAGE_DATA_IMPL_H_ 31 #endif // PPAPI_SHARED_IMPL_IMAGE_DATA_IMPL_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/id_assignment.h ('k') | ppapi/shared_impl/input_event_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698