diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 00:35:55 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 00:35:55 +0000 |
commit | 14b27b4a744757f19e09b630a51a411cf53e1982 (patch) | |
tree | dd2f599f4f11659bece298752d781acada7ce326 /chrome | |
parent | f891fb36c971320d64a399c0eba55391ab2cb74b (diff) | |
download | chromium_src-14b27b4a744757f19e09b630a51a411cf53e1982.zip chromium_src-14b27b4a744757f19e09b630a51a411cf53e1982.tar.gz chromium_src-14b27b4a744757f19e09b630a51a411cf53e1982.tar.bz2 |
posix: move lack of printing into a bug.
Review URL: http://codereview.chromium.org/63103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13314 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index 4a998df..bdfa69d 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -177,8 +177,25 @@ void InstallJankometer(const CommandLine&); class CancelableTask; class ViewMsg_Print_Params; +// Printing is all (obviously) not implemented. +// http://code.google.com/p/chromium/issues/detail?id=9847 namespace printing { +class PrintViewManager { + public: + PrintViewManager(WebContents&) { } + void Stop() { NOTIMPLEMENTED(); } + void Destroy() { } + bool OnRenderViewGone(RenderViewHost*) { + NOTIMPLEMENTED(); + return true; // Assume for now that all renderer crashes are important. + } + void DidGetPrintedPagesCount(int, int) { NOTIMPLEMENTED(); } + void DidPrintPage(const ViewHostMsg_DidPrintPage_Params&) { + NOTIMPLEMENTED(); + } +}; + class PrintingContext { public: enum Result { OK, CANCEL, FAILED }; @@ -212,7 +229,7 @@ class PrinterQuery : public base::RefCountedThreadSafe<PrinterQuery> { class PrintJobManager { public: - void OnQuit() { NOTIMPLEMENTED(); } + void OnQuit() { } void PopPrinterQuery(int document_cookie, scoped_refptr<PrinterQuery>* job) { NOTIMPLEMENTED(); } @@ -510,23 +527,6 @@ class WebApp : public base::RefCountedThreadSafe<WebApp> { } }; -namespace printing { -class PrintViewManager { - public: - PrintViewManager(WebContents&) { } - void Stop() { NOTIMPLEMENTED(); } - void Destroy() { NOTIMPLEMENTED(); } - bool OnRenderViewGone(RenderViewHost*) { - NOTIMPLEMENTED(); - return true; // Assume for now that all renderer crashes are important. - } - void DidGetPrintedPagesCount(int, int) { NOTIMPLEMENTED(); } - void DidPrintPage(const ViewHostMsg_DidPrintPage_Params&) { - NOTIMPLEMENTED(); - } -}; -} - class HungRendererWarning { public: static void HideForWebContents(WebContents*) { NOTIMPLEMENTED(); } |