| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 void StartTrackingLatency(PP_Instance instance) override; | 427 void StartTrackingLatency(PP_Instance instance) override; |
| 428 void ZoomChanged(PP_Instance instance, double factor) override; | 428 void ZoomChanged(PP_Instance instance, double factor) override; |
| 429 void ZoomLimitsChanged(PP_Instance instance, | 429 void ZoomLimitsChanged(PP_Instance instance, |
| 430 double minimum_factor, | 430 double minimum_factor, |
| 431 double maximum_factor) override; | 431 double maximum_factor) override; |
| 432 void PostMessage(PP_Instance instance, PP_Var message) override; | 432 void PostMessage(PP_Instance instance, PP_Var message) override; |
| 433 int32_t RegisterMessageHandler(PP_Instance instance, | 433 int32_t RegisterMessageHandler(PP_Instance instance, |
| 434 void* user_data, | 434 void* user_data, |
| 435 const PPP_MessageHandler_0_2* handler, | 435 const PPP_MessageHandler_0_2* handler, |
| 436 PP_Resource message_loop) override; | 436 PP_Resource message_loop) override; |
| 437 int32_t RegisterMessageHandler_1_1_Deprecated( | |
| 438 PP_Instance instance, | |
| 439 void* user_data, | |
| 440 const PPP_MessageHandler_0_1_Deprecated* handler, | |
| 441 PP_Resource message_loop) override; | |
| 442 void UnregisterMessageHandler(PP_Instance instance) override; | 437 void UnregisterMessageHandler(PP_Instance instance) override; |
| 443 PP_Bool SetCursor(PP_Instance instance, | 438 PP_Bool SetCursor(PP_Instance instance, |
| 444 PP_MouseCursor_Type type, | 439 PP_MouseCursor_Type type, |
| 445 PP_Resource image, | 440 PP_Resource image, |
| 446 const PP_Point* hot_spot) override; | 441 const PP_Point* hot_spot) override; |
| 447 int32_t LockMouse(PP_Instance instance, | 442 int32_t LockMouse(PP_Instance instance, |
| 448 scoped_refptr<ppapi::TrackedCallback> callback) override; | 443 scoped_refptr<ppapi::TrackedCallback> callback) override; |
| 449 void UnlockMouse(PP_Instance instance) override; | 444 void UnlockMouse(PP_Instance instance) override; |
| 450 void SetTextInputType(PP_Instance instance, PP_TextInput_Type type) override; | 445 void SetTextInputType(PP_Instance instance, PP_TextInput_Type type) override; |
| 451 void UpdateCaretPosition(PP_Instance instance, | 446 void UpdateCaretPosition(PP_Instance instance, |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 // view change events. | 933 // view change events. |
| 939 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 934 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 940 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 935 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 941 | 936 |
| 942 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 937 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 943 }; | 938 }; |
| 944 | 939 |
| 945 } // namespace content | 940 } // namespace content |
| 946 | 941 |
| 947 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 942 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |