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

Unified Diff: printing/native_metafile_skia_wrapper.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/native_metafile_factory.cc ('k') | printing/native_metafile_skia_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/native_metafile_skia_wrapper.h
diff --git a/printing/native_metafile_skia_wrapper.h b/printing/native_metafile_skia_wrapper.h
deleted file mode 100644
index 7eb2887eaf0012b8f4027276e0d0861f1810cc00..0000000000000000000000000000000000000000
--- a/printing/native_metafile_skia_wrapper.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PRINTING_NATIVE_METAFILE_SKIA_WRAPPER_H_
-#define PRINTING_NATIVE_METAFILE_SKIA_WRAPPER_H_
-
-#include "third_party/skia/include/core/SkRefCnt.h"
-
-class SkCanvas;
-
-namespace printing {
-
-class NativeMetafile;
-
-// A wrapper class with static methods to set and retrieve a NativeMetafile
-// on an SkCanvas. The ownership of the metafile is not affected and it
-// is the caller's responsibility to ensure that the metafile remains valid
-// as long as the canvas.
-class NativeMetafileSkiaWrapper : public SkRefCnt {
- public:
- static void SetMetafileOnCanvas(SkCanvas* canvas, NativeMetafile* metafile);
-
- static NativeMetafile* GetMetafileFromCanvas(SkCanvas* canvas);
-
- private:
- explicit NativeMetafileSkiaWrapper(NativeMetafile* metafile);
-
- NativeMetafile* metafile_;
-};
-
-} // namespace printing
-
-#endif // PRINTING_NATIVE_METAFILE_SKIA_WRAPPER_H_
« no previous file with comments | « printing/native_metafile_factory.cc ('k') | printing/native_metafile_skia_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698