summaryrefslogtreecommitdiffstats
path: root/printing/native_metafile.h
diff options
context:
space:
mode:
Diffstat (limited to 'printing/native_metafile.h')
-rw-r--r--printing/native_metafile.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/printing/native_metafile.h b/printing/native_metafile.h
index 742ee27..6623343 100644
--- a/printing/native_metafile.h
+++ b/printing/native_metafile.h
@@ -98,29 +98,6 @@ class NativeMetafile {
virtual gfx::NativeDrawingContext context() const = 0;
#if defined(OS_WIN)
- // Generates a virtual HDC that will record every GDI commands and compile it
- // in a EMF data stream.
- // hdc is used to setup the default DPI and color settings. hdc is optional.
- // rect specifies the dimensions (in .01-millimeter units) of the EMF. rect is
- // optional.
- virtual bool CreateDc(gfx::NativeDrawingContext sibling,
- const RECT* rect) = 0;
-
- // Similar to the above method but the metafile is backed by a file.
- virtual bool CreateFileBackedDc(gfx::NativeDrawingContext sibling,
- const RECT* rect,
- const FilePath& path) = 0;
-
- // TODO(maruel): CreateFromFile(). If ever used. Maybe users would like to
- // have the ability to save web pages to an EMF file? Afterward, it is easy to
- // convert to PDF or PS.
- // Load a metafile fromdisk.
- virtual bool CreateFromFile(const FilePath& metafile_path) = 0;
-
- // Closes the HDC created by CreateDc() and generates the compiled EMF
- // data.
- virtual void CloseEmf() = 0;
-
// "Plays" the EMF buffer in a HDC. It is the same effect as calling the
// original GDI function that were called when recording the EMF. |rect| is in
// "logical units" and is optional. If |rect| is NULL, the natural EMF bounds