OLD | NEW |
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 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 PP_Instance instance, | 65 PP_Instance instance, |
66 const PPB_URLRequestInfo_Data& data) OVERRIDE; | 66 const PPB_URLRequestInfo_Data& data) OVERRIDE; |
67 virtual PP_Resource CreateWheelInputEvent( | 67 virtual PP_Resource CreateWheelInputEvent( |
68 PP_Instance instance, | 68 PP_Instance instance, |
69 PP_TimeTicks time_stamp, | 69 PP_TimeTicks time_stamp, |
70 uint32_t modifiers, | 70 uint32_t modifiers, |
71 const PP_FloatPoint* wheel_delta, | 71 const PP_FloatPoint* wheel_delta, |
72 const PP_FloatPoint* wheel_ticks, | 72 const PP_FloatPoint* wheel_ticks, |
73 PP_Bool scroll_by_page) OVERRIDE; | 73 PP_Bool scroll_by_page) OVERRIDE; |
74 | 74 |
75 #if !defined(OS_NACL) | |
76 virtual PP_Resource CreateAudio(PP_Instance instance, | 75 virtual PP_Resource CreateAudio(PP_Instance instance, |
77 PP_Resource config_id, | 76 PP_Resource config_id, |
78 PPB_Audio_Callback audio_callback, | 77 PPB_Audio_Callback audio_callback, |
79 void* user_data) OVERRIDE; | 78 void* user_data) OVERRIDE; |
80 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 79 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
81 PP_AudioSampleRate sample_rate, | 80 PP_AudioSampleRate sample_rate, |
82 uint32_t sample_frame_count) OVERRIDE; | 81 uint32_t sample_frame_count) OVERRIDE; |
| 82 #if !defined(OS_NACL) |
83 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 83 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
84 virtual PP_Resource CreateAudioInput0_1( | 84 virtual PP_Resource CreateAudioInput0_1( |
85 PP_Instance instance, | 85 PP_Instance instance, |
86 PP_Resource config_id, | 86 PP_Resource config_id, |
87 PPB_AudioInput_Callback audio_input_callback, | 87 PPB_AudioInput_Callback audio_input_callback, |
88 void* user_data) OVERRIDE; | 88 void* user_data) OVERRIDE; |
89 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; | 89 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
90 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 90 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
91 virtual PP_Resource CreateBrowserFont( | 91 virtual PP_Resource CreateBrowserFont( |
92 PP_Instance instance, | 92 PP_Instance instance, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 145 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
146 | 146 |
147 private: | 147 private: |
148 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 148 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace proxy | 151 } // namespace proxy |
152 } // namespace ppapi | 152 } // namespace ppapi |
153 | 153 |
154 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 154 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |