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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const char* name, 109 const char* name,
110 const char* proto) OVERRIDE; 110 const char* proto) OVERRIDE;
111 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; 111 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE;
112 virtual PP_Resource CreateURLRequestInfo( 112 virtual PP_Resource CreateURLRequestInfo(
113 PP_Instance instance, 113 PP_Instance instance,
114 const PPB_URLRequestInfo_Data& data) OVERRIDE; 114 const PPB_URLRequestInfo_Data& data) OVERRIDE;
115 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; 115 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE;
116 virtual PP_Resource CreateVideoDecoder( 116 virtual PP_Resource CreateVideoDecoder(
117 PP_Instance instance, 117 PP_Instance instance,
118 PP_Resource context3d_id, 118 PP_Resource context3d_id,
119 const PP_VideoConfigElement* config) OVERRIDE; 119 PP_VideoDecoder_Profile profile) OVERRIDE;
120 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 120 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
121 PP_VideoLayerMode_Dev mode) OVERRIDE; 121 PP_VideoLayerMode_Dev mode) OVERRIDE;
122 virtual PP_Resource CreateWheelInputEvent( 122 virtual PP_Resource CreateWheelInputEvent(
123 PP_Instance instance, 123 PP_Instance instance,
124 PP_TimeTicks time_stamp, 124 PP_TimeTicks time_stamp,
125 uint32_t modifiers, 125 uint32_t modifiers,
126 const PP_FloatPoint* wheel_delta, 126 const PP_FloatPoint* wheel_delta,
127 const PP_FloatPoint* wheel_ticks, 127 const PP_FloatPoint* wheel_ticks,
128 PP_Bool scroll_by_page) OVERRIDE; 128 PP_Bool scroll_by_page) OVERRIDE;
129 129
(...skipping 20 matching lines...) Expand all
150 150
151 Dispatcher* dispatcher_; 151 Dispatcher* dispatcher_;
152 152
153 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 153 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
154 }; 154 };
155 155
156 } // namespace proxy 156 } // namespace proxy
157 } // namespace ppapi 157 } // namespace ppapi
158 158
159 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 159 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698