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

Side by Side Diff: webkit/glue/webplugin_impl.h

Issue 3180: This fixes the following bugs:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/webplugin_impl.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_GLUE_WEBPLUGIN_IMPL_H__ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H__
6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H__ 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H__
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 // Helper function for sorting post data. 111 // Helper function for sorting post data.
112 static bool SetPostData(WebCore::ResourceRequest* request, 112 static bool SetPostData(WebCore::ResourceRequest* request,
113 const char *buf, 113 const char *buf,
114 uint32 length); 114 uint32 length);
115 115
116 private: 116 private:
117 friend class WebPluginContainer; 117 friend class WebPluginContainer;
118 118
119 WebPluginImpl(WebCore::Element *element, WebFrameImpl *frame, 119 WebPluginImpl(WebCore::Element *element, WebFrameImpl *frame,
120 WebPluginDelegate* delegate); 120 WebPluginDelegate* delegate, const GURL& plugin_url);
121 121
122 // WebPlugin implementation: 122 // WebPlugin implementation:
123 void SetWindow(HWND window, HANDLE pump_messages_event); 123 void SetWindow(HWND window, HANDLE pump_messages_event);
124 124
125 // Given a (maybe partial) url, completes using the base url. 125 // Given a (maybe partial) url, completes using the base url.
126 bool CompleteURL(const std::string& url_in, std::string* url_out); 126 bool CompleteURL(const std::string& url_in, std::string* url_out);
127 127
128 // Executes the script passed in. The notify_needed and notify_data arguments 128 // Executes the script passed in. The notify_needed and notify_data arguments
129 // are passed in by the plugin process. These indicate whether the plugin 129 // are passed in by the plugin process. These indicate whether the plugin
130 // expects a notification on script execution. We pass them back to the 130 // expects a notification on script execution. We pass them back to the
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 bool received_first_paint_notification_; 277 bool received_first_paint_notification_;
278 278
279 WebPluginContainer* widget_; 279 WebPluginContainer* widget_;
280 280
281 typedef std::map<WebPluginResourceClient*, MultipartResponseDelegate*> 281 typedef std::map<WebPluginResourceClient*, MultipartResponseDelegate*>
282 MultiPartResponseHandlerMap; 282 MultiPartResponseHandlerMap;
283 // Tracks HTTP multipart response handlers instantiated for 283 // Tracks HTTP multipart response handlers instantiated for
284 // a WebPluginResourceClient instance. 284 // a WebPluginResourceClient instance.
285 MultiPartResponseHandlerMap multi_part_response_map_; 285 MultiPartResponseHandlerMap multi_part_response_map_;
286 286
287 // The plugin source URL.
288 GURL plugin_url_;
289
287 DISALLOW_EVIL_CONSTRUCTORS(WebPluginImpl); 290 DISALLOW_EVIL_CONSTRUCTORS(WebPluginImpl);
288 }; 291 };
289 292
290 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H__ 293 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H__
291 294
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698