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 #include "mojo/examples/pepper_container_app/plugin_instance.h" | 5 #include "mojo/examples/pepper_container_app/plugin_instance.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h" | 8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h" |
9 #include "mojo/examples/pepper_container_app/mojo_ppapi_globals.h" | 9 #include "mojo/examples/pepper_container_app/mojo_ppapi_globals.h" |
10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 } | 219 } |
220 | 220 |
221 void PluginInstance::StartTrackingLatency(PP_Instance instance) { | 221 void PluginInstance::StartTrackingLatency(PP_Instance instance) { |
222 NOTIMPLEMENTED(); | 222 NOTIMPLEMENTED(); |
223 } | 223 } |
224 | 224 |
225 void PluginInstance::PostMessage(PP_Instance instance, PP_Var message) { | 225 void PluginInstance::PostMessage(PP_Instance instance, PP_Var message) { |
226 NOTIMPLEMENTED(); | 226 NOTIMPLEMENTED(); |
227 } | 227 } |
228 | 228 |
| 229 int32_t PluginInstance::RegisterMessageHandler( |
| 230 PP_Instance instance, |
| 231 void* user_data, |
| 232 const PPP_MessageHandler_0_1* handler, |
| 233 PP_Resource message_loop) { |
| 234 NOTIMPLEMENTED(); |
| 235 return PP_ERROR_FAILED; |
| 236 } |
| 237 |
| 238 void PluginInstance::UnregisterMessageHandler(PP_Instance instance) { |
| 239 NOTIMPLEMENTED(); |
| 240 } |
| 241 |
229 PP_Bool PluginInstance::SetCursor(PP_Instance instance, | 242 PP_Bool PluginInstance::SetCursor(PP_Instance instance, |
230 PP_MouseCursor_Type type, | 243 PP_MouseCursor_Type type, |
231 PP_Resource image, | 244 PP_Resource image, |
232 const PP_Point* hot_spot) { | 245 const PP_Point* hot_spot) { |
233 NOTIMPLEMENTED(); | 246 NOTIMPLEMENTED(); |
234 return PP_FALSE; | 247 return PP_FALSE; |
235 } | 248 } |
236 | 249 |
237 int32_t PluginInstance::LockMouse( | 250 int32_t PluginInstance::LockMouse( |
238 PP_Instance instance, | 251 PP_Instance instance, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 } | 392 } |
380 | 393 |
381 PP_Var PluginInstance::GetPluginReferrerURL(PP_Instance instance, | 394 PP_Var PluginInstance::GetPluginReferrerURL(PP_Instance instance, |
382 PP_URLComponents_Dev* components) { | 395 PP_URLComponents_Dev* components) { |
383 NOTIMPLEMENTED(); | 396 NOTIMPLEMENTED(); |
384 return PP_MakeUndefined(); | 397 return PP_MakeUndefined(); |
385 } | 398 } |
386 | 399 |
387 } // namespace examples | 400 } // namespace examples |
388 } // namespace mojo | 401 } // namespace mojo |
OLD | NEW |