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 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 Loading... |
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 Loading... |
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_ |
OLD | NEW |