summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_render_thread.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-24 20:01:07 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-24 20:01:07 +0000
commit15d890b1a9a05e7d1733ff3cefd68a13d07bfe2b (patch)
tree9a06d1d3332349acbd6581f40cf84f96413825bb /chrome/renderer/mock_render_thread.h
parent1a999b9b66ba047ddd427b704fa04d5be39f00e0 (diff)
downloadchromium_src-15d890b1a9a05e7d1733ff3cefd68a13d07bfe2b.zip
chromium_src-15d890b1a9a05e7d1733ff3cefd68a13d07bfe2b.tar.gz
chromium_src-15d890b1a9a05e7d1733ff3cefd68a13d07bfe2b.tar.bz2
Port some more RenderViewTests to Linux.
Focus on printing tests. The ones I didn't port may not be worth the effort if we are going to change Linux printing soon. BUG=none TEST=tests pass Review URL: http://codereview.chromium.org/2066016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/mock_render_thread.h')
-rw-r--r--chrome/renderer/mock_render_thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h
index 8e7d210..c297cb8 100644
--- a/chrome/renderer/mock_render_thread.h
+++ b/chrome/renderer/mock_render_thread.h
@@ -101,6 +101,12 @@ class MockRenderThread : public RenderThreadBase {
base::SharedMemoryHandle* handle);
#endif
+#if defined(OS_LINUX)
+ void OnAllocateTempFileForPrinting(base::FileDescriptor* renderer_fd,
+ int* browser_fd);
+ void OnTempFileForPrintingWritten(int browser_fd);
+#endif
+
// The RenderView expects default print settings.
void OnGetDefaultPrintSettings(ViewMsg_Print_Params* setting);