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 int32_t RegisterMessageHandler_1_1_Deprecated( |
| 433 PP_Instance instance, |
| 434 void* user_data, |
| 435 const PPP_MessageHandler_0_1_Deprecated* handler, |
| 436 PP_Resource message_loop) OVERRIDE; |
432 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; | 437 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; |
433 virtual PP_Bool SetCursor(PP_Instance instance, | 438 virtual PP_Bool SetCursor(PP_Instance instance, |
434 PP_MouseCursor_Type type, | 439 PP_MouseCursor_Type type, |
435 PP_Resource image, | 440 PP_Resource image, |
436 const PP_Point* hot_spot) OVERRIDE; | 441 const PP_Point* hot_spot) OVERRIDE; |
437 virtual int32_t LockMouse(PP_Instance instance, | 442 virtual int32_t LockMouse(PP_Instance instance, |
438 scoped_refptr<ppapi::TrackedCallback> callback) | 443 scoped_refptr<ppapi::TrackedCallback> callback) |
439 OVERRIDE; | 444 OVERRIDE; |
440 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 445 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
441 virtual void SetTextInputType(PP_Instance instance, | 446 virtual void SetTextInputType(PP_Instance instance, |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 923 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
919 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 924 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
920 | 925 |
921 friend class PpapiPluginInstanceTest; | 926 friend class PpapiPluginInstanceTest; |
922 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 927 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
923 }; | 928 }; |
924 | 929 |
925 } // namespace content | 930 } // namespace content |
926 | 931 |
927 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 932 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
OLD | NEW |