summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webplugin_impl.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 21:42:29 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 21:42:29 +0000
commitd92c84f41f4635433aaffa6f2d5eb3ff8f5d3a9e (patch)
treec853a02524348e69157adcb29761405bda2c5369 /webkit/glue/webplugin_impl.h
parent9651f7f897fb73b2201a77b08ed3534ee9a5aa80 (diff)
downloadchromium_src-d92c84f41f4635433aaffa6f2d5eb3ff8f5d3a9e.zip
chromium_src-d92c84f41f4635433aaffa6f2d5eb3ff8f5d3a9e.tar.gz
chromium_src-d92c84f41f4635433aaffa6f2d5eb3ff8f5d3a9e.tar.bz2
- Remove whitespace at the end of the line
- A few spelling mistakes in the comments - Fix the order of initilization in the class (gcc warning) - use the string utility to convert between string type (gcc warning) - Ifdef the keyboard/mouse/painting which is currently only implemented on Windows Review URL: http://codereview.chromium.org/7827 Patch from Torchmobile Inc.. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_impl.h')
-rw-r--r--webkit/glue/webplugin_impl.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/webkit/glue/webplugin_impl.h b/webkit/glue/webplugin_impl.h
index 56fa705..827fa8c 100644
--- a/webkit/glue/webplugin_impl.h
+++ b/webkit/glue/webplugin_impl.h
@@ -74,8 +74,8 @@ class WebPluginContainer : public WebCore::Widget {
// can be used by any platform.
void windowCutoutRects(const WebCore::IntRect& bounds,
WTF::Vector<WebCore::IntRect>* cutouts) const;
-
- // These methods are invoked from webkit when it has data to be sent to the
+
+ // These methods are invoked from webkit when it has data to be sent to the
// plugin. The plugin in this case does not initiate a download for the data.
void didReceiveResponse(const WebCore::ResourceResponse& response);
void didReceiveData(const char *buffer, int length);
@@ -88,7 +88,7 @@ class WebPluginContainer : public WebCore::Widget {
uint32 last_modified;
uint32 expected_length;
};
- // Helper function to read fields in a HTTP response structure.
+ // 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,
HttpResponseInfo* http_response);
@@ -118,7 +118,7 @@ class WebPluginImpl : public WebPlugin,
virtual NPObject* GetPluginScriptableObject();
- // Helper function for sorting post data.
+ // Helper function for sorting post data.
static bool SetPostData(WebCore::ResourceRequest* request,
const char *buf,
uint32 length);
@@ -137,10 +137,10 @@ class WebPluginImpl : public WebPlugin,
// Executes the script passed in. The notify_needed and notify_data arguments
// are passed in by the plugin process. These indicate whether the plugin
- // expects a notification on script execution. We pass them back to the
+ // expects a notification on script execution. We pass them back to the
// plugin as is. This avoids having to track the notification arguments
// in the plugin process.
- bool ExecuteScript(const std::string& url, const std::wstring& script,
+ bool ExecuteScript(const std::string& url, const std::wstring& script,
bool notify_needed, int notify_data, bool popups_allowed);
// Given a download request, check if we need to route the output
@@ -258,7 +258,7 @@ class WebPluginImpl : public WebPlugin,
WebCore::IntRect* clip_rect,
std::vector<gfx::Rect>* cutout_rects);
- void HandleURLRequest(const char *method,
+ void HandleURLRequest(const char *method,
bool is_javascript_url,
const char* target, unsigned int len,
const char* buf, bool is_file_data,
@@ -268,7 +268,7 @@ class WebPluginImpl : public WebPlugin,
void CancelDocumentLoad();
void InitiateHTTPRangeRequest(const char* url, const char* range_info,
- HANDLE existing_stream, bool notify_needed,
+ HANDLE existing_stream, bool notify_needed,
HANDLE notify_data);
// Handles HTTP multipart responses, i.e. responses received with a HTTP