OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_EXAMPLES_PEPPER_CONTAINER_APP_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef MOJO_EXAMPLES_PEPPER_CONTAINER_APP_RESOURCE_CREATION_IMPL_H_ |
6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_RESOURCE_CREATION_IMPL_H_ | 6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_RESOURCE_CREATION_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 PPB_Audio_Callback_1_0 audio_callback, | 81 PPB_Audio_Callback_1_0 audio_callback, |
82 void* user_data) OVERRIDE; | 82 void* user_data) OVERRIDE; |
83 virtual PP_Resource CreateAudio(PP_Instance instance, | 83 virtual PP_Resource CreateAudio(PP_Instance instance, |
84 PP_Resource config_id, | 84 PP_Resource config_id, |
85 PPB_Audio_Callback audio_callback, | 85 PPB_Audio_Callback audio_callback, |
86 void* user_data) OVERRIDE; | 86 void* user_data) OVERRIDE; |
87 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 87 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
88 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 88 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
89 PP_AudioSampleRate sample_rate, | 89 PP_AudioSampleRate sample_rate, |
90 uint32_t sample_frame_count) OVERRIDE; | 90 uint32_t sample_frame_count) OVERRIDE; |
| 91 virtual PP_Resource CreateCompositor(PP_Instance instance) OVERRIDE; |
91 virtual PP_Resource CreateFileChooser(PP_Instance instance, | 92 virtual PP_Resource CreateFileChooser(PP_Instance instance, |
92 PP_FileChooserMode_Dev mode, | 93 PP_FileChooserMode_Dev mode, |
93 const PP_Var& accept_types) OVERRIDE; | 94 const PP_Var& accept_types) OVERRIDE; |
94 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 95 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
95 const PP_Size* size, | 96 const PP_Size* size, |
96 PP_Bool is_always_opaque) OVERRIDE; | 97 PP_Bool is_always_opaque) OVERRIDE; |
97 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 98 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
98 PP_Resource share_context, | 99 PP_Resource share_context, |
99 const int32_t* attrib_list) OVERRIDE; | 100 const int32_t* attrib_list) OVERRIDE; |
100 virtual PP_Resource CreateGraphics3DRaw( | 101 virtual PP_Resource CreateGraphics3DRaw( |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 #endif // !defined(OS_NACL) | 168 #endif // !defined(OS_NACL) |
168 | 169 |
169 private: | 170 private: |
170 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 171 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
171 }; | 172 }; |
172 | 173 |
173 } // namespace examples | 174 } // namespace examples |
174 } // namespace mojo | 175 } // namespace mojo |
175 | 176 |
176 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_RESOURCE_CREATION_IMPL_H_ | 177 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |