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

Unified Diff: webkit/glue/webplugin_impl.h

Issue 159746: Another attempt at landing this patch.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webplugin.h ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.h
===================================================================
--- webkit/glue/webplugin_impl.h (revision 22262)
+++ webkit/glue/webplugin_impl.h (working copy)
@@ -41,6 +41,7 @@
namespace WebKit {
class WebURLResponse;
+class WebURLLoader;
}
namespace webkit_glue {
@@ -264,9 +265,6 @@
virtual void didFinishLoading(WebKit::WebURLLoader* loader);
virtual void didFail(WebKit::WebURLLoader* loader, const WebKit::WebURLError&);
- // Helper function
- WebPluginResourceClient* GetClientFromLoader(WebKit::WebURLLoader* loader);
-
// Helper function to remove the stored information about a resource
// request given its index in m_clients.
void RemoveClient(size_t i);
@@ -297,6 +295,8 @@
intptr_t existing_stream, bool notify_needed,
intptr_t notify_data);
+ void SetDeferResourceLoading(int resource_id, bool defer);
+
// Ignore in-process plugins mode for this flag.
bool IsOffTheRecord() { return false; }
@@ -333,6 +333,10 @@
linked_ptr<WebKit::WebURLLoader> loader;
};
+ // Helper functions
+ WebPluginResourceClient* GetClientFromLoader(WebKit::WebURLLoader* loader);
+ ClientInfo* GetClientInfoFromLoader(WebKit::WebURLLoader* loader);
+
std::vector<ClientInfo> clients_;
bool windowless_;
« no previous file with comments | « webkit/glue/webplugin.h ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698