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

Side by Side Diff: mojo/examples/pepper_container_app/plugin_instance.cc

Issue 252023009: PPAPI: Add dev synchronous JS->Plugin messaging API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use channel=dev instead of none Created 6 years, 6 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 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
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
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
OLDNEW
« no previous file with comments | « mojo/examples/pepper_container_app/plugin_instance.h ('k') | native_client_sdk/src/libraries/ppapi/library.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698