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

Unified Diff: chrome/renderer/mock_render_thread.h

Issue 276004: Wire up printing on the Mac (Closed)
Patch Set: Created 11 years, 2 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/renderer/mock_render_thread.h
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h
index eb1a4582cf95d1b4e58ba0a666f6929f2faca1d0..d4ed9f7ca4aeb4fa4b808f30ef97c8385a1a07d5 100644
--- a/chrome/renderer/mock_render_thread.h
+++ b/chrome/renderer/mock_render_thread.h
@@ -87,8 +87,15 @@ class MockRenderThread : public RenderThreadBase {
const std::string& source_extension_id,
const std::string& target_extension_id, int* port_id);
+#if defined(OS_WIN)
void OnDuplicateSection(base::SharedMemoryHandle renderer_handle,
base::SharedMemoryHandle* browser_handle);
+#endif
+
+#if defined(OS_MACOSX)
+ void OnAllocatePDFTransport(size_t buffer_size,
+ base::SharedMemoryHandle* handle);
+#endif
// The RenderView expects default print settings.
void OnGetDefaultPrintSettings(ViewMsg_Print_Params* setting);

Powered by Google App Engine
This is Rietveld 408576698