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

Unified Diff: webkit/mocks/mock_webframe.h

Issue 6325001: Fix canary build break due to printBegin change. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/mocks/mock_webframe.h
===================================================================
--- webkit/mocks/mock_webframe.h (revision 70859)
+++ webkit/mocks/mock_webframe.h (working copy)
@@ -29,6 +29,7 @@
using WebKit::WebFrame;
using WebKit::WebHistoryItem;
using WebKit::WebInputElement;
+using WebKit::WebNode;
using WebKit::WebPasswordAutocompleteListener;
using WebKit::WebPerformance;
using WebKit::WebRange;
@@ -266,8 +267,15 @@
virtual bool selectWordAroundCaret() {
return false;
}
- virtual int printBegin(const WebSize& pageSize, int printerDPI = 72,
+#if defined(WEBFRAME_PRINTBEGIN_TAKES_NODE)
+ virtual int printBegin(const WebSize& pageSize,
+ const WebNode& constrainToNode,
+ int printerDPI = 72,
bool* useBrowserOverlays = 0) {
+#else
+virtual int printBegin(const WebSize& pageSize, int printerDPI = 72,
+ bool* useBrowserOverlays = 0) {
+#endif
return 0;
}
virtual float getPrintPageShrink(int page) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698