OLD | NEW |
---|---|
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 |
130 virtual bool Send(IPC::Message* msg) OVERRIDE; | 130 virtual bool Send(IPC::Message* msg) OVERRIDE; |
131 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 131 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
132 | 132 |
133 private: | 133 private: |
134 // IPC message handlers (called in browser). | |
135 void OnMsgCreateAudio(PP_Instance instance, | |
brettw
2011/12/03 00:40:38
These audio functions were never implemented or us
| |
136 int32_t sample_rate, | |
137 uint32_t sample_frame_count, | |
138 HostResource* result); | |
139 void OnMsgCreateAudioInput(PP_Instance instance, | |
140 HostResource* result); | |
141 void OnMsgCreateGraphics2D(PP_Instance instance, | |
142 const PP_Size& size, | |
143 PP_Bool is_always_opaque, | |
144 HostResource* result); | |
145 void OnMsgCreateImageData(PP_Instance instance, | |
146 int32_t format, | |
147 const PP_Size& size, | |
148 PP_Bool init_to_zero, | |
149 HostResource* result, | |
150 std::string* image_data_desc, | |
151 ImageHandle* result_image_handle); | |
152 | |
153 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 134 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
154 }; | 135 }; |
155 | 136 |
156 } // namespace proxy | 137 } // namespace proxy |
157 } // namespace ppapi | 138 } // namespace ppapi |
158 | 139 |
159 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 140 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |