| 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 WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "ppapi/c/ppb_gamepad.h" | 35 #include "ppapi/c/ppb_gamepad.h" |
| 36 #include "ppapi/c/ppp_graphics_3d.h" | 36 #include "ppapi/c/ppp_graphics_3d.h" |
| 37 #include "ppapi/c/ppp_input_event.h" | 37 #include "ppapi/c/ppp_input_event.h" |
| 38 #include "ppapi/c/ppp_messaging.h" | 38 #include "ppapi/c/ppp_messaging.h" |
| 39 #include "ppapi/c/ppp_mouse_lock.h" | 39 #include "ppapi/c/ppp_mouse_lock.h" |
| 40 #include "ppapi/c/private/ppb_content_decryptor_private.h" | 40 #include "ppapi/c/private/ppb_content_decryptor_private.h" |
| 41 #include "ppapi/c/private/ppp_content_decryptor_private.h" | 41 #include "ppapi/c/private/ppp_content_decryptor_private.h" |
| 42 #include "ppapi/c/private/ppp_instance_private.h" | 42 #include "ppapi/c/private/ppp_instance_private.h" |
| 43 #include "ppapi/shared_impl/ppb_instance_shared.h" | 43 #include "ppapi/shared_impl/ppb_instance_shared.h" |
| 44 #include "ppapi/shared_impl/ppb_view_shared.h" | 44 #include "ppapi/shared_impl/ppb_view_shared.h" |
| 45 #include "ppapi/thunk/ppb_flash_functions_api.h" |
| 45 #include "ppapi/thunk/ppb_gamepad_api.h" | 46 #include "ppapi/thunk/ppb_gamepad_api.h" |
| 46 #include "ppapi/thunk/resource_creation_api.h" | 47 #include "ppapi/thunk/resource_creation_api.h" |
| 47 #include "ppapi/shared_impl/tracked_callback.h" | 48 #include "ppapi/shared_impl/tracked_callback.h" |
| 48 #include "third_party/skia/include/core/SkRefCnt.h" | 49 #include "third_party/skia/include/core/SkRefCnt.h" |
| 49 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" | 50 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" |
| 50 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 51 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
| 51 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" | 52 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" |
| 52 #include "ui/base/ime/text_input_type.h" | 53 #include "ui/base/ime/text_input_type.h" |
| 53 #include "ui/gfx/rect.h" | 54 #include "ui/gfx/rect.h" |
| 54 #include "webkit/plugins/ppapi/plugin_delegate.h" | 55 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 381 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
| 381 int32_t total, | 382 int32_t total, |
| 382 PP_Bool final_result) OVERRIDE; | 383 PP_Bool final_result) OVERRIDE; |
| 383 virtual void SelectedFindResultChanged(PP_Instance instance, | 384 virtual void SelectedFindResultChanged(PP_Instance instance, |
| 384 int32_t index) OVERRIDE; | 385 int32_t index) OVERRIDE; |
| 385 virtual PP_Bool SetFullscreen(PP_Instance instance, | 386 virtual PP_Bool SetFullscreen(PP_Instance instance, |
| 386 PP_Bool fullscreen) OVERRIDE; | 387 PP_Bool fullscreen) OVERRIDE; |
| 387 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) | 388 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) |
| 388 OVERRIDE; | 389 OVERRIDE; |
| 389 virtual ::ppapi::thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE; | 390 virtual ::ppapi::thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE; |
| 391 virtual ::ppapi::thunk::PPB_Flash_Functions_API* GetFlashFunctionsAPI( |
| 392 PP_Instance instance) OVERRIDE; |
| 390 virtual ::ppapi::thunk::PPB_Gamepad_API* GetGamepadAPI(PP_Instance instance) | 393 virtual ::ppapi::thunk::PPB_Gamepad_API* GetGamepadAPI(PP_Instance instance) |
| 391 OVERRIDE; | 394 OVERRIDE; |
| 392 virtual int32_t RequestInputEvents(PP_Instance instance, | 395 virtual int32_t RequestInputEvents(PP_Instance instance, |
| 393 uint32_t event_classes) OVERRIDE; | 396 uint32_t event_classes) OVERRIDE; |
| 394 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 397 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| 395 uint32_t event_classes) OVERRIDE; | 398 uint32_t event_classes) OVERRIDE; |
| 396 virtual void ClearInputEventRequest(PP_Instance instance, | 399 virtual void ClearInputEventRequest(PP_Instance instance, |
| 397 uint32_t event_classes) OVERRIDE; | 400 uint32_t event_classes) OVERRIDE; |
| 398 virtual void ClosePendingUserGesture(PP_Instance instance, | 401 virtual void ClosePendingUserGesture(PP_Instance instance, |
| 399 PP_TimeTicks timestamp); | 402 PP_TimeTicks timestamp); |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 typedef std::map<uint32_t, media::Decryptor::DecryptCB> DecryptionCBMap; | 763 typedef std::map<uint32_t, media::Decryptor::DecryptCB> DecryptionCBMap; |
| 761 DecryptionCBMap pending_decryption_cbs_; | 764 DecryptionCBMap pending_decryption_cbs_; |
| 762 | 765 |
| 763 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 766 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 764 }; | 767 }; |
| 765 | 768 |
| 766 } // namespace ppapi | 769 } // namespace ppapi |
| 767 } // namespace webkit | 770 } // namespace webkit |
| 768 | 771 |
| 769 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 772 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |