| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 404 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| 405 uint32_t event_classes) OVERRIDE; | 405 uint32_t event_classes) OVERRIDE; |
| 406 virtual void ClearInputEventRequest(PP_Instance instance, | 406 virtual void ClearInputEventRequest(PP_Instance instance, |
| 407 uint32_t event_classes) OVERRIDE; | 407 uint32_t event_classes) OVERRIDE; |
| 408 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; | 408 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; |
| 409 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; | 409 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; |
| 410 virtual void ZoomLimitsChanged(PP_Instance instance, | 410 virtual void ZoomLimitsChanged(PP_Instance instance, |
| 411 double minimum_factor, | 411 double minimum_factor, |
| 412 double maximum_factor) OVERRIDE; | 412 double maximum_factor) OVERRIDE; |
| 413 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 413 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
| 414 virtual int32_t RegisterMessageHandler(PP_Instance instance, |
| 415 void* user_data, |
| 416 const PPP_MessageHandler_0_1* handler, |
| 417 PP_Resource message_loop) OVERRIDE; |
| 418 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; |
| 414 virtual PP_Bool SetCursor(PP_Instance instance, | 419 virtual PP_Bool SetCursor(PP_Instance instance, |
| 415 PP_MouseCursor_Type type, | 420 PP_MouseCursor_Type type, |
| 416 PP_Resource image, | 421 PP_Resource image, |
| 417 const PP_Point* hot_spot) OVERRIDE; | 422 const PP_Point* hot_spot) OVERRIDE; |
| 418 virtual int32_t LockMouse(PP_Instance instance, | 423 virtual int32_t LockMouse(PP_Instance instance, |
| 419 scoped_refptr<ppapi::TrackedCallback> callback) | 424 scoped_refptr<ppapi::TrackedCallback> callback) |
| 420 OVERRIDE; | 425 OVERRIDE; |
| 421 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 426 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
| 422 virtual void SetTextInputType(PP_Instance instance, | 427 virtual void SetTextInputType(PP_Instance instance, |
| 423 PP_TextInput_Type type) OVERRIDE; | 428 PP_TextInput_Type type) OVERRIDE; |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 885 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 881 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 886 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 882 | 887 |
| 883 friend class PpapiPluginInstanceTest; | 888 friend class PpapiPluginInstanceTest; |
| 884 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 889 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 885 }; | 890 }; |
| 886 | 891 |
| 887 } // namespace content | 892 } // namespace content |
| 888 | 893 |
| 889 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 894 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |