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

Unified Diff: chrome/common/temp_scaffolding_stubs.h

Issue 172115: Pass printing result to the browser.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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
Index: chrome/common/temp_scaffolding_stubs.h
===================================================================
--- chrome/common/temp_scaffolding_stubs.h (revision 25608)
+++ chrome/common/temp_scaffolding_stubs.h (working copy)
@@ -54,7 +54,7 @@
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 @@
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 {

Powered by Google App Engine
This is Rietveld 408576698