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

Unified Diff: printing/native_metafile.h

Issue 193086: Fix printing project on linux. (Closed)
Patch Set: fix git error 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
« no previous file with comments | « no previous file | printing/page_overlays.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/native_metafile.h
diff --git a/printing/native_metafile.h b/printing/native_metafile.h
index be79d5bea921e1a8c96721e29fdfc113dce5461c..e30a43e1cdd42011ce91ed592a071aa6a0c7a169 100644
--- a/printing/native_metafile.h
+++ b/printing/native_metafile.h
@@ -26,9 +26,14 @@ typedef Emf NativeMetafile;
#elif defined(OS_MACOSX)
-// TODO(port): Printing using PDF?
+// TODO(port): Printing using CG/PDF?
// The mock class is here so we can compile.
-class NativeMetafile {};
+class NativeMetafile {
+ public:
+ int GetDataSize() const { return 0; }
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NativeMetafile);
+};
#elif defined(OS_LINUX)
« no previous file with comments | « no previous file | printing/page_overlays.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698