Chromium Code Reviews| Index: chrome/renderer/print_web_view_helper.h |
| diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h |
| index 66a306f53e4290d0374938e50b063aebc749d506..06bb7cf80a729fae774e98f7ea1971985780f133 100644 |
| --- a/chrome/renderer/print_web_view_helper.h |
| +++ b/chrome/renderer/print_web_view_helper.h |
| @@ -20,6 +20,9 @@ |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
| #include "ui/gfx/size.h" |
| +#if defined(OS_WIN) && defined(USE_SKIA) |
| +#include "skia/ext/SkFontHost_sandbox_win.h" |
| +#endif |
| struct PrintMsg_Print_Params; |
| struct PrintMsg_PrintPage_Params; |
| @@ -84,6 +87,9 @@ class PrepareFrameAndViewForPrint { |
| class PrintWebViewHelper |
| : public content::RenderViewObserver, |
| public content::RenderViewObserverTracker<PrintWebViewHelper>, |
| +#if defined(OS_WIN) && defined(USE_SKIA) |
| + public skia::ISandboxSupport, |
|
vandebo (ex-Chrome)
2011/11/16 05:42:55
This seems like the wrong place for this, it's not
|
| +#endif |
| public WebKit::WebViewClient, |
| public WebKit::WebFrameClient { |
| public: |
| @@ -232,6 +238,10 @@ class PrintWebViewHelper |
| printing::Metafile* metafile); |
| #endif // defined(OS_WIN) |
| +#if defined(OS_WIN) && defined(USE_SKIA) |
| + virtual void EnsureFontLoad(LOGFONT logfont); |
| +#endif |
| + |
| // Helper methods ----------------------------------------------------------- |
| bool CopyAndPrint(WebKit::WebFrame* web_frame); |