Index: chrome/renderer/print_web_view_helper.h |
=================================================================== |
--- chrome/renderer/print_web_view_helper.h (revision 97225) |
+++ chrome/renderer/print_web_view_helper.h (working copy) |
@@ -28,11 +28,6 @@ |
namespace base { |
class DictionaryValue; |
} |
-#if defined(USE_SKIA) |
-namespace skia { |
-class VectorCanvas; |
-} |
-#endif |
// Class that calls the Begin and End print functions on the frame and changes |
// the size of the view temporarily to support full page printing.. |
@@ -271,19 +266,6 @@ |
PrepareFrameAndViewForPrint* prepare, |
PrintMsg_Print_Params* params); |
-#if defined(USE_SKIA) |
- // Given the |device| and |canvas| to draw on, prints the appropriate headers |
- // and footers using strings from |header_footer_info| on to the canvas. |
- static void PrintHeaderAndFooter( |
- SkDevice* device, |
- skia::VectorCanvas* canvas, |
- int page_number, |
- int total_pages, |
- float webkit_scale_factor, |
- const PageSizeMargins& page_layout_in_points, |
- const base::DictionaryValue& header_footer_info); |
-#endif // defined(USE_SKIA) |
- |
bool GetPrintFrame(WebKit::WebFrame** frame); |
// This reports the current time - |start_time| as the time to render a page. |
@@ -327,10 +309,6 @@ |
scoped_ptr<PrintMsg_PrintPages_Params> old_print_pages_params_; |
- // Strings generated by the browser process to be printed as headers and |
- // footers if requested by the user. |
- scoped_ptr<base::DictionaryValue> header_footer_info_; |
- |
// Keeps track of the state of print preview between messages. |
class PrintPreviewContext { |
public: |