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

Unified Diff: printing/metafile.h

Issue 6826027: Connect the right metafiles for print preview on Linux and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile problems Created 9 years, 8 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 | « printing/image_win.cc ('k') | printing/metafile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/metafile.h
diff --git a/printing/native_metafile.h b/printing/metafile.h
similarity index 97%
rename from printing/native_metafile.h
rename to printing/metafile.h
index 8bb96511f222eaf03a146def6b8c020c7cbad50f..264c8fe8977beffeadc39fbf0d5cf0bd38066a1c 100644
--- a/printing/native_metafile.h
+++ b/printing/metafile.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PRINTING_NATIVE_METAFILE_H_
-#define PRINTING_NATIVE_METAFILE_H_
+#ifndef PRINTING_METAFILE_H_
+#define PRINTING_METAFILE_H_
#include "base/basictypes.h"
#include "build/build_config.h"
@@ -11,7 +11,6 @@
#if defined(OS_WIN)
#include <windows.h>
-#include <vector>
#elif defined(OS_MACOSX)
#include <ApplicationServices/ApplicationServices.h>
#include <CoreFoundation/CoreFoundation.h>
@@ -40,9 +39,9 @@ namespace printing {
// This class creates a graphics context that renders into a data stream
// (usually PDF or EMF).
-class NativeMetafile {
+class Metafile {
public:
- virtual ~NativeMetafile() {}
+ virtual ~Metafile() {}
// Initializes a fresh new metafile for rendering. Returns false on failure.
// Note: It should only be called from within the renderer process to allocate
@@ -149,4 +148,4 @@ class NativeMetafile {
} // namespace printing
-#endif // PRINTING_NATIVE_METAFILE_H_
+#endif // PRINTING_METAFILE_H_
« no previous file with comments | « printing/image_win.cc ('k') | printing/metafile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698