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

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

Issue 14371021: Implementation of URLLoader using PluginResource/ResourceHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase, track src/webkit gypi changes. Created 7 years, 7 months 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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.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_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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 78
79 } // namespace ppapi 79 } // namespace ppapi
80 80
81 namespace WebKit { 81 namespace WebKit {
82 typedef SkCanvas WebCanvas; 82 typedef SkCanvas WebCanvas;
83 class WebGamepads; 83 class WebGamepads;
84 class WebPlugin; 84 class WebPlugin;
85 struct WebCompositionUnderline; 85 struct WebCompositionUnderline;
86 struct WebCursorInfo; 86 struct WebCursorInfo;
87 struct WebURLError;
88 class WebURLLoaderClient;
89 class WebURLResponse;
87 } 90 }
88 91
89 namespace webkit_glue { 92 namespace webkit_glue {
90 class ClipboardClient; 93 class ClipboardClient;
91 class P2PTransport; 94 class P2PTransport;
92 class NetworkListObserver; 95 class NetworkListObserver;
93 } // namespace webkit_glue 96 } // namespace webkit_glue
94 97
95 namespace webkit { 98 namespace webkit {
96 namespace ppapi { 99 namespace ppapi {
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 virtual void StopEnumerateDevices(int request_id) = 0; 671 virtual void StopEnumerateDevices(int request_id) = 0;
669 672
670 // Share a given handle with the target process. 673 // Share a given handle with the target process.
671 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( 674 virtual IPC::PlatformFileForTransit ShareHandleWithRemote(
672 base::PlatformFile handle, 675 base::PlatformFile handle,
673 base::ProcessId target_process_id, 676 base::ProcessId target_process_id,
674 bool should_close_source) const = 0; 677 bool should_close_source) const = 0;
675 678
676 // Returns true if running in process. 679 // Returns true if running in process.
677 virtual bool IsRunningInProcess(PP_Instance instance) const = 0; 680 virtual bool IsRunningInProcess(PP_Instance instance) const = 0;
681
682 // Notifies the plugin of the document load. This should initiate the call to
683 // PPP_Instance.HandleDocumentLoad.
684 //
685 // The loader object should set itself on the PluginInstance as the document
686 // loader using set_document_loader.
687 virtual void HandleDocumentLoad(PluginInstance* instance,
688 const WebKit::WebURLResponse& response) = 0;
678 }; 689 };
679 690
680 } // namespace ppapi 691 } // namespace ppapi
681 } // namespace webkit 692 } // namespace webkit
682 693
683 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 694 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698