Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Side by Side Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 11633034: Remove the old PPB_Flash proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "ppapi/shared_impl/tracked_callback.h" 44 #include "ppapi/shared_impl/tracked_callback.h"
45 #include "ppapi/thunk/ppb_gamepad_api.h" 45 #include "ppapi/thunk/ppb_gamepad_api.h"
46 #include "ppapi/thunk/resource_creation_api.h" 46 #include "ppapi/thunk/resource_creation_api.h"
47 #include "third_party/skia/include/core/SkRefCnt.h" 47 #include "third_party/skia/include/core/SkRefCnt.h"
48 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" 48 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h"
49 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 49 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" 50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
51 #include "ui/base/ime/text_input_type.h" 51 #include "ui/base/ime/text_input_type.h"
52 #include "ui/gfx/rect.h" 52 #include "ui/gfx/rect.h"
53 #include "webkit/plugins/ppapi/plugin_delegate.h" 53 #include "webkit/plugins/ppapi/plugin_delegate.h"
54 #include "webkit/plugins/ppapi/ppb_flash_impl.h"
55 #include "webkit/plugins/ppapi/ppp_pdf.h" 54 #include "webkit/plugins/ppapi/ppp_pdf.h"
56 #include "webkit/plugins/webkit_plugins_export.h" 55 #include "webkit/plugins/webkit_plugins_export.h"
57 56
58 struct PP_Point; 57 struct PP_Point;
59 58
60 class SkBitmap; 59 class SkBitmap;
61 class TransportDIB; 60 class TransportDIB;
62 61
63 namespace WebKit { 62 namespace WebKit {
64 class WebInputEvent; 63 class WebInputEvent;
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; 364 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE;
366 virtual void NumberOfFindResultsChanged(PP_Instance instance, 365 virtual void NumberOfFindResultsChanged(PP_Instance instance,
367 int32_t total, 366 int32_t total,
368 PP_Bool final_result) OVERRIDE; 367 PP_Bool final_result) OVERRIDE;
369 virtual void SelectedFindResultChanged(PP_Instance instance, 368 virtual void SelectedFindResultChanged(PP_Instance instance,
370 int32_t index) OVERRIDE; 369 int32_t index) OVERRIDE;
371 virtual PP_Bool SetFullscreen(PP_Instance instance, 370 virtual PP_Bool SetFullscreen(PP_Instance instance,
372 PP_Bool fullscreen) OVERRIDE; 371 PP_Bool fullscreen) OVERRIDE;
373 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) 372 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size)
374 OVERRIDE; 373 OVERRIDE;
375 virtual ::ppapi::thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE;
376 virtual ::ppapi::Resource* GetSingletonResource(PP_Instance instance, 374 virtual ::ppapi::Resource* GetSingletonResource(PP_Instance instance,
377 ::ppapi::SingletonResourceID id) OVERRIDE; 375 ::ppapi::SingletonResourceID id) OVERRIDE;
378 virtual int32_t RequestInputEvents(PP_Instance instance, 376 virtual int32_t RequestInputEvents(PP_Instance instance,
379 uint32_t event_classes) OVERRIDE; 377 uint32_t event_classes) OVERRIDE;
380 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, 378 virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
381 uint32_t event_classes) OVERRIDE; 379 uint32_t event_classes) OVERRIDE;
382 virtual void ClearInputEventRequest(PP_Instance instance, 380 virtual void ClearInputEventRequest(PP_Instance instance,
383 uint32_t event_classes) OVERRIDE; 381 uint32_t event_classes) OVERRIDE;
384 virtual void ClosePendingUserGesture(PP_Instance instance, 382 virtual void ClosePendingUserGesture(PP_Instance instance,
385 PP_TimeTicks timestamp); 383 PP_TimeTicks timestamp);
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 std::string surrounding_text_; 749 std::string surrounding_text_;
752 size_t selection_caret_; 750 size_t selection_caret_;
753 size_t selection_anchor_; 751 size_t selection_anchor_;
754 752
755 scoped_refptr< ::ppapi::TrackedCallback> lock_mouse_callback_; 753 scoped_refptr< ::ppapi::TrackedCallback> lock_mouse_callback_;
756 754
757 // Track pending user gestures so out-of-process plugins can respond to 755 // Track pending user gestures so out-of-process plugins can respond to
758 // a user gesture after it has been processed. 756 // a user gesture after it has been processed.
759 PP_TimeTicks pending_user_gesture_; 757 PP_TimeTicks pending_user_gesture_;
760 758
761 // The Flash proxy is associated with the instance.
762 PPB_Flash_Impl flash_impl_;
763
764 // We store the arguments so we can re-send them if we are reset to talk to 759 // We store the arguments so we can re-send them if we are reset to talk to
765 // NaCl via the IPC NaCl proxy. 760 // NaCl via the IPC NaCl proxy.
766 std::vector<std::string> argn_; 761 std::vector<std::string> argn_;
767 std::vector<std::string> argv_; 762 std::vector<std::string> argv_;
768 763
769 // This is NULL unless HandleDocumentLoad has called. In that case, we store 764 // This is NULL unless HandleDocumentLoad has called. In that case, we store
770 // the pointer so we can re-send it later if we are reset to talk to NaCl. 765 // the pointer so we can re-send it later if we are reset to talk to NaCl.
771 scoped_refptr<PPB_URLLoader_Impl> document_loader_; 766 scoped_refptr<PPB_URLLoader_Impl> document_loader_;
772 767
773 // The ContentDecryptorDelegate forwards PPP_ContentDecryptor_Private 768 // The ContentDecryptorDelegate forwards PPP_ContentDecryptor_Private
774 // calls and handles PPB_ContentDecryptor_Private calls. 769 // calls and handles PPB_ContentDecryptor_Private calls.
775 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_; 770 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_;
776 771
777 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 772 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
778 }; 773 };
779 774
780 } // namespace ppapi 775 } // namespace ppapi
781 } // namespace webkit 776 } // namespace webkit
782 777
783 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 778 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698