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

Unified Diff: webkit/glue/webplugin_impl.h

Issue 7871: This fixes http://code.google.com/p/chromium/issues/detail?id=3585, which is ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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/plugins/webplugin_delegate_impl.cc ('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 3852)
+++ webkit/glue/webplugin_impl.h (working copy)
@@ -131,7 +131,8 @@
friend class WebPluginContainer;
WebPluginImpl(WebCore::Element *element, WebFrameImpl *frame,
- WebPluginDelegate* delegate, const GURL& plugin_url);
+ WebPluginDelegate* delegate, const GURL& plugin_url,
+ bool load_manually);
// WebPlugin implementation:
void SetWindow(HWND window, HANDLE pump_messages_event);
@@ -165,8 +166,8 @@
// Returns true on success.
bool InitiateHTTPRequest(int resource_id, WebPluginResourceClient* client,
const char* method, const char* buf, int buf_len,
- const GURL& url,
- const char* range_info);
+ const GURL& url, const char* range_info,
+ bool use_plugin_src_as_referer);
gfx::Rect GetWindowClipRect(const gfx::Rect& rect);
@@ -280,6 +281,13 @@
void HandleHttpMultipartResponse(const WebCore::ResourceResponse& response,
WebPluginResourceClient* client);
+ void HandleURLRequestInternal(const char *method, bool is_javascript_url,
+ const char* target, unsigned int len,
+ const char* buf, bool is_file_data,
+ bool notify, const char* url,
+ void* notify_data, bool popups_allowed,
+ bool use_plugin_src_as_referrer);
+
struct ClientInfo {
int id;
WebPluginResourceClient* client;
@@ -311,6 +319,12 @@
// The plugin source URL.
GURL plugin_url_;
+ // Indicates if the download would be initiated by the plugin or us.
+ bool load_manually_;
+
+ // Indicates if this is the first geometry update received by the plugin.
+ bool first_geometry_update_;
+
DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
};
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.cc ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698