diff options
Diffstat (limited to 'webkit/glue/webplugin_impl.h')
-rw-r--r-- | webkit/glue/webplugin_impl.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/webkit/glue/webplugin_impl.h b/webkit/glue/webplugin_impl.h index 4f6782a..b99b784 100644 --- a/webkit/glue/webplugin_impl.h +++ b/webkit/glue/webplugin_impl.h @@ -56,7 +56,7 @@ class WebPluginContainer : public WebCore::Widget { WebPluginContainer(WebPluginImpl* impl); virtual ~WebPluginContainer(); NPObject* GetPluginScriptableObject(); - + // Widget methods: virtual void setFrameRect(const WebCore::IntRect& rect); virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect& rect); @@ -98,6 +98,7 @@ class WebPluginContainer : public WebCore::Widget { uint32 last_modified; uint32 expected_length; }; + // Helper function to read fields in a HTTP response structure. // These fields are written to the HttpResponseInfo structure passed in. static void ReadHttpResponseInfo(const WebCore::ResourceResponse& response, @@ -272,7 +273,8 @@ class WebPluginImpl : public WebPlugin, WebCore::Frame* frame() { return webframe_ ? webframe_->frame() : NULL; } - // Calculates the bounds of the plugin widget based on the frame rect passed in. + // Calculates the bounds of the plugin widget based on the frame + // rect passed in. void CalculateBounds(const WebCore::IntRect& frame_rect, WebCore::IntRect* window_rect, WebCore::IntRect* clip_rect, @@ -308,7 +310,7 @@ class WebPluginImpl : public WebPlugin, bool ReinitializePluginForResponse(WebCore::ResourceHandle* response_handle); // Helper functions to convert an array of names/values to a vector. - static void ArrayToVector(int total_values, char** values, + static void ArrayToVector(int total_values, char** values, std::vector<std::string>* value_vector); struct ClientInfo { |