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

Unified Diff: webkit/glue/webplugin_impl.h

Issue 13198: Improve PDF FastWebView performance. This occurs because the manual data... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 | « no previous file | 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 6484)
+++ webkit/glue/webplugin_impl.h (working copy)
@@ -87,6 +87,10 @@
void didFinishLoading();
void didFail(const WebCore::ResourceError&);
+ void set_ignore_response_error(bool ignore_response_error) {
+ ignore_response_error_ = ignore_response_error;
+ }
+
struct HttpResponseInfo {
std::string url;
std::wstring mime_type;
@@ -100,6 +104,8 @@
private:
WebPluginImpl* impl_;
+ // Set to true if the next response error should be ignored.
+ bool ignore_response_error_;
};
// This is the WebKit side of the plugin implementation that forwards calls,
« 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