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

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

Issue 7779001: Replace the use of an int32* with a proper struct for decoder configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replaced struct with explicit profile parameter. 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
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_RESOURCE_CREATION_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/shared_impl/function_group_base.h" 10 #include "ppapi/shared_impl/function_group_base.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const char* name, 98 const char* name,
99 const char* proto) OVERRIDE; 99 const char* proto) OVERRIDE;
100 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; 100 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE;
101 virtual PP_Resource CreateURLRequestInfo( 101 virtual PP_Resource CreateURLRequestInfo(
102 PP_Instance instance, 102 PP_Instance instance,
103 const ::ppapi::PPB_URLRequestInfo_Data& data) OVERRIDE; 103 const ::ppapi::PPB_URLRequestInfo_Data& data) OVERRIDE;
104 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; 104 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE;
105 virtual PP_Resource CreateVideoDecoder( 105 virtual PP_Resource CreateVideoDecoder(
106 PP_Instance instance, 106 PP_Instance instance,
107 PP_Resource context3d_id, 107 PP_Resource context3d_id,
108 const PP_VideoConfigElement* config) OVERRIDE; 108 PP_VideoDecoder_Profile profile) OVERRIDE;
109 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 109 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
110 PP_VideoLayerMode_Dev mode) OVERRIDE; 110 PP_VideoLayerMode_Dev mode) OVERRIDE;
111 virtual PP_Resource CreateWheelInputEvent( 111 virtual PP_Resource CreateWheelInputEvent(
112 PP_Instance instance, 112 PP_Instance instance,
113 PP_TimeTicks time_stamp, 113 PP_TimeTicks time_stamp,
114 uint32_t modifiers, 114 uint32_t modifiers,
115 const PP_FloatPoint* wheel_delta, 115 const PP_FloatPoint* wheel_delta,
116 const PP_FloatPoint* wheel_ticks, 116 const PP_FloatPoint* wheel_ticks,
117 PP_Bool scroll_by_page) OVERRIDE; 117 PP_Bool scroll_by_page) OVERRIDE;
118 118
119 private: 119 private:
120 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 120 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
121 }; 121 };
122 122
123 } // namespace ppapi 123 } // namespace ppapi
124 } // namespace webkit 124 } // namespace webkit
125 125
126 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 126 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698