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

Unified Diff: webkit/glue/plugins/webplugin_print_delegate.h

Issue 5783004: Keep deinlining stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Well, it all compiles locally? Created 10 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
Index: webkit/glue/plugins/webplugin_print_delegate.h
diff --git a/webkit/glue/plugins/webplugin_print_delegate.h b/webkit/glue/plugins/webplugin_print_delegate.h
index 040e58f583488e6e52853ff5a959bb998aa43537..24298e88c6999ae4bb13c035c429d6e1981007fc 100644
--- a/webkit/glue/plugins/webplugin_print_delegate.h
+++ b/webkit/glue/plugins/webplugin_print_delegate.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "third_party/npapi/bindings/npapi_extensions.h"
+#include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h"
Lei Zhang 2010/12/15 00:51:35 You can't forward declare WebKit::WebCanvas?
Elliot Glaysher 2010/12/15 17:34:41 Nope. It's a bunch of ifdefed typedefs.
namespace gfx {
class Rect;
@@ -22,21 +23,14 @@ class WebPluginPrintDelegate {
// If a plugin supports print extensions, then it gets to participate fully
// in the browser's print workflow by specifying the number of pages to be
// printed and providing a print output for specified pages.
- virtual bool PrintSupportsPrintExtension() {
- return false;
- }
+ virtual bool PrintSupportsPrintExtension();
// Note: printable_area is in points (a point is 1/72 of an inch).
- virtual int PrintBegin(const gfx::Rect& printable_area, int printer_dpi) {
- return 0;
- }
+ virtual int PrintBegin(const gfx::Rect& printable_area, int printer_dpi);
- virtual bool PrintPage(int page_number, WebKit::WebCanvas* canvas) {
- return false;
- }
+ virtual bool PrintPage(int page_number, WebKit::WebCanvas* canvas);
- virtual void PrintEnd() {
- }
+ virtual void PrintEnd();
protected:
WebPluginPrintDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698