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

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 564573002: PPAPI: Make PPP_MessageHandler work in PNaCl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 virtual void ClearInputEventRequest(PP_Instance instance, 420 virtual void ClearInputEventRequest(PP_Instance instance,
421 uint32_t event_classes) OVERRIDE; 421 uint32_t event_classes) OVERRIDE;
422 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; 422 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE;
423 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; 423 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE;
424 virtual void ZoomLimitsChanged(PP_Instance instance, 424 virtual void ZoomLimitsChanged(PP_Instance instance,
425 double minimum_factor, 425 double minimum_factor,
426 double maximum_factor) OVERRIDE; 426 double maximum_factor) OVERRIDE;
427 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; 427 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE;
428 virtual int32_t RegisterMessageHandler(PP_Instance instance, 428 virtual int32_t RegisterMessageHandler(PP_Instance instance,
429 void* user_data, 429 void* user_data,
430 const PPP_MessageHandler_0_1* handler, 430 const PPP_MessageHandler_0_2* handler,
431 PP_Resource message_loop) OVERRIDE; 431 PP_Resource message_loop) OVERRIDE;
432 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; 432 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE;
433 virtual PP_Bool SetCursor(PP_Instance instance, 433 virtual PP_Bool SetCursor(PP_Instance instance,
434 PP_MouseCursor_Type type, 434 PP_MouseCursor_Type type,
435 PP_Resource image, 435 PP_Resource image,
436 const PP_Point* hot_spot) OVERRIDE; 436 const PP_Point* hot_spot) OVERRIDE;
437 virtual int32_t LockMouse(PP_Instance instance, 437 virtual int32_t LockMouse(PP_Instance instance,
438 scoped_refptr<ppapi::TrackedCallback> callback) 438 scoped_refptr<ppapi::TrackedCallback> callback)
439 OVERRIDE; 439 OVERRIDE;
440 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; 440 virtual void UnlockMouse(PP_Instance instance) OVERRIDE;
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 918 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
919 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 919 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
920 920
921 friend class PpapiPluginInstanceTest; 921 friend class PpapiPluginInstanceTest;
922 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 922 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
923 }; 923 };
924 924
925 } // namespace content 925 } // namespace content
926 926
927 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 927 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698