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_clipboard_api.h" | |
45 #include "ppapi/thunk/ppb_flash_functions_api.h" | 46 #include "ppapi/thunk/ppb_flash_functions_api.h" |
46 #include "ppapi/thunk/ppb_gamepad_api.h" | 47 #include "ppapi/thunk/ppb_gamepad_api.h" |
47 #include "ppapi/thunk/resource_creation_api.h" | 48 #include "ppapi/thunk/resource_creation_api.h" |
48 #include "ppapi/shared_impl/tracked_callback.h" | 49 #include "ppapi/shared_impl/tracked_callback.h" |
49 #include "third_party/skia/include/core/SkRefCnt.h" | 50 #include "third_party/skia/include/core/SkRefCnt.h" |
50 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" | 51 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" |
51 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 52 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
52 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" | 53 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" |
53 #include "ui/base/ime/text_input_type.h" | 54 #include "ui/base/ime/text_input_type.h" |
54 #include "ui/gfx/rect.h" | 55 #include "ui/gfx/rect.h" |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
395 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) | 396 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) |
396 OVERRIDE; | 397 OVERRIDE; |
397 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; | 398 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; |
398 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; | 399 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; |
399 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 400 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
400 int32_t total, | 401 int32_t total, |
401 PP_Bool final_result) OVERRIDE; | 402 PP_Bool final_result) OVERRIDE; |
402 virtual void SelectedFindResultChanged(PP_Instance instance, | 403 virtual void SelectedFindResultChanged(PP_Instance instance, |
403 int32_t index) OVERRIDE; | 404 int32_t index) OVERRIDE; |
404 virtual PP_Bool SetFullscreen(PP_Instance instance, | 405 virtual PP_Bool SetFullscreen(PP_Instance instance, |
405 PP_Bool fullscreen) OVERRIDE; | 406 PP_Bool fullscreen) OVERRIDE; |
406 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) | 407 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) |
407 OVERRIDE; | 408 OVERRIDE; |
408 virtual ::ppapi::thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE; | 409 virtual ::ppapi::thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE; |
410 virtual ::ppapi::thunk::PPB_Flash_Clipboard_API* GetFlashClipboardAPI( | |
411 PP_Instance instance) OVERRIDE; | |
yzshen1
2012/10/29 18:57:33
wrong indent.
raymes
2012/10/29 20:04:48
Done.
| |
409 virtual ::ppapi::thunk::PPB_Flash_Functions_API* GetFlashFunctionsAPI( | 412 virtual ::ppapi::thunk::PPB_Flash_Functions_API* GetFlashFunctionsAPI( |
410 PP_Instance instance) OVERRIDE; | 413 PP_Instance instance) OVERRIDE; |
411 virtual ::ppapi::thunk::PPB_Gamepad_API* GetGamepadAPI(PP_Instance instance) | 414 virtual ::ppapi::thunk::PPB_Gamepad_API* GetGamepadAPI(PP_Instance instance) |
412 OVERRIDE; | 415 OVERRIDE; |
413 virtual int32_t RequestInputEvents(PP_Instance instance, | 416 virtual int32_t RequestInputEvents(PP_Instance instance, |
414 uint32_t event_classes) OVERRIDE; | 417 uint32_t event_classes) OVERRIDE; |
415 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 418 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
416 uint32_t event_classes) OVERRIDE; | 419 uint32_t event_classes) OVERRIDE; |
417 virtual void ClearInputEventRequest(PP_Instance instance, | 420 virtual void ClearInputEventRequest(PP_Instance instance, |
418 uint32_t event_classes) OVERRIDE; | 421 uint32_t event_classes) OVERRIDE; |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
819 uint32_t pending_video_decode_request_id_; | 822 uint32_t pending_video_decode_request_id_; |
820 media::Decryptor::VideoDecodeCB pending_video_decode_cb_; | 823 media::Decryptor::VideoDecodeCB pending_video_decode_cb_; |
821 | 824 |
822 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 825 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
823 }; | 826 }; |
824 | 827 |
825 } // namespace ppapi | 828 } // namespace ppapi |
826 } // namespace webkit | 829 } // namespace webkit |
827 | 830 |
828 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 831 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
OLD | NEW |