summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r--chrome/common/temp_scaffolding_stubs.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 2ed3181..7b01f31 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -54,7 +54,7 @@ namespace printing {
class PrintViewManager : public RenderViewHostDelegate::Printing {
public:
- PrintViewManager(TabContents&) { }
+ PrintViewManager(TabContents& owner) : owner_(owner) { }
void Stop() { NOTIMPLEMENTED(); }
void Destroy() { }
bool OnRenderViewGone(RenderViewHost*) {
@@ -66,9 +66,17 @@ class PrintViewManager : public RenderViewHostDelegate::Printing {
virtual void DidGetPrintedPagesCount(int cookie, int number_pages) {
NOTIMPLEMENTED();
}
+
+#if defined(OS_LINUX)
+ virtual void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params);
+#else
virtual void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params) {
NOTIMPLEMENTED();
}
+#endif
+
+ private:
+ TabContents& owner_;
};
class PrintingContext {