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

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

Issue 11416363: Implementation of URLLoader using PluginResource/ResourceHost. (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
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_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 } // namespace ppapi 72 } // namespace ppapi
73 73
74 namespace WebKit { 74 namespace WebKit {
75 typedef SkCanvas WebCanvas; 75 typedef SkCanvas WebCanvas;
76 class WebGamepads; 76 class WebGamepads;
77 class WebPlugin; 77 class WebPlugin;
78 struct WebCompositionUnderline; 78 struct WebCompositionUnderline;
79 struct WebCursorInfo; 79 struct WebCursorInfo;
80 struct WebURLError;
81 class WebURLLoaderClient;
82 class WebURLResponse;
80 } 83 }
81 84
82 namespace webkit_glue { 85 namespace webkit_glue {
83 class ClipboardClient; 86 class ClipboardClient;
84 class P2PTransport; 87 class P2PTransport;
85 class NetworkListObserver; 88 class NetworkListObserver;
86 } // namespace webkit_glue 89 } // namespace webkit_glue
87 90
88 namespace webkit { 91 namespace webkit {
89 namespace ppapi { 92 namespace ppapi {
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 virtual int EnumerateDevices(PP_DeviceType_Dev type, 667 virtual int EnumerateDevices(PP_DeviceType_Dev type,
665 const EnumerateDevicesCallback& callback) = 0; 668 const EnumerateDevicesCallback& callback) = 0;
666 // Stop enumerating devices of the specified |request_id|. The |request_id| 669 // Stop enumerating devices of the specified |request_id|. The |request_id|
667 // is the return value of EnumerateDevicesCallback. 670 // is the return value of EnumerateDevicesCallback.
668 virtual void StopEnumerateDevices(int request_id) = 0; 671 virtual void StopEnumerateDevices(int request_id) = 0;
669 672
670 // Returns restrictions on local data handled by the plug-in. 673 // Returns restrictions on local data handled by the plug-in.
671 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( 674 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
672 const GURL& document_url, 675 const GURL& document_url,
673 const GURL& plugin_url) = 0; 676 const GURL& plugin_url) = 0;
677
678 // Notifies the plugin of the document load. This should initiate the call to
679 // PPP_Instance.HandleDocumentLoad.
680 //
681 // The loader object should set itself on the PluginInstance as the
bbudge 2012/12/17 21:13:14 Maybe clearer if you say the delegate should set t
682 // document loader using set_document_loader.
683 virtual void HandleDocumentLoad(PluginInstance* instance,
684 const WebKit::WebURLResponse& response) = 0;
674 }; 685 };
675 686
676 } // namespace ppapi 687 } // namespace ppapi
677 } // namespace webkit 688 } // namespace webkit
678 689
679 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 690 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698