Index: webkit/glue/webframe.h |
=================================================================== |
--- webkit/glue/webframe.h (revision 21267) |
+++ webkit/glue/webframe.h (working copy) |
@@ -404,6 +404,11 @@ |
// size. |
virtual int PrintBegin(const WebKit::WebSize& page_size) = 0; |
+ // Returns the page shrinking factor calculated by webkit (usually between |
+ // 1/1.25 and 1/2). Returns 0 if the page number is invalid or not in printing |
+ // mode. |
+ virtual float GetPrintPageShrink(int page) = 0; |
+ |
// Prints one page, and returns the calculated page shrinking factor (usually |
// between 1/1.25 and 1/2). Returns 0 if the page number is invalid or not |
// in printing mode. |