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

Unified Diff: printing/emf_win.h

Issue 6665046: Unfork VectorPlatformCanvas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 9 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: printing/emf_win.h
diff --git a/printing/emf_win.h b/printing/emf_win.h
index e054db3a5f63e3db4060999aac3fa3d7cbc3a6a7..c0b12144a3426eb5008730a0e8864fcb59852eab 100644
--- a/printing/emf_win.h
+++ b/printing/emf_win.h
@@ -15,6 +15,7 @@
class FilePath;
namespace gfx {
+class Point;
class Rect;
}
@@ -33,6 +34,9 @@ class Emf : public NativeMetafile {
virtual bool Init() { return true; }
virtual bool Init(const void* src_buffer, uint32 src_buffer_size);
+ virtual skia::PlatformDevice* StartPageForVectorCanvas(
+ const gfx::Size& page_size, const gfx::Point& content_origin,
+ const float& scale_factor);
virtual bool StartPage();
virtual bool FinishPage();
virtual bool Close();

Powered by Google App Engine
This is Rietveld 408576698