diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 03:52:55 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 03:52:55 +0000 |
commit | 0a7031a43ea2b15e606882e9c5e3da58f565b701 (patch) | |
tree | a5cc48ab501d0f6bb21ffb0d02815e858c3d9fdc /printing/native_metafile.h | |
parent | 063f8db1c4ec940c6391a36f85c9bcb124fbed9a (diff) | |
download | chromium_src-0a7031a43ea2b15e606882e9c5e3da58f565b701.zip chromium_src-0a7031a43ea2b15e606882e9c5e3da58f565b701.tar.gz chromium_src-0a7031a43ea2b15e606882e9c5e3da58f565b701.tar.bz2 |
Revert 78662 - Unfork VectorPlatformCanvas.
Unfork VectorPlatformCanvas by making NativeMetafile know how to create an appropriate VectorPlatformDevice. This will also be useful when we have multiple NativeMetafile implemenations (each requiring a different VectorPlatformDevices).
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/6665046
TBR=vandebo@chromium.org
Review URL: http://codereview.chromium.org/6713029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/native_metafile.h')
-rw-r--r-- | printing/native_metafile.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/printing/native_metafile.h b/printing/native_metafile.h index ce43740..a076b32 100644 --- a/printing/native_metafile.h +++ b/printing/native_metafile.h @@ -26,10 +26,6 @@ class Size; class Point; } -namespace skia { -class PlatformDevice; -} - #if defined(OS_CHROMEOS) namespace base { class FileDescriptor; @@ -54,13 +50,6 @@ class NativeMetafile { // Note: It should only be called from within the browser process. virtual bool InitFromData(const void* src_buffer, uint32 src_buffer_size) = 0; - // This method calls StartPage and then returns an appropriate - // VectorPlatformDevice implementation bound to the context created by - // StartPage or NULL on error. - virtual skia::PlatformDevice* StartPageForVectorCanvas( - const gfx::Size& page_size, const gfx::Point& content_origin, - const float& scale_factor) = 0; - #if defined(OS_WIN) // Inserts a custom GDICOMMENT records indicating StartPage/EndPage calls // (since StartPage and EndPage do not work in a metafile DC). Only valid |