diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 06:00:29 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 06:00:29 +0000 |
commit | 01cec0a407740bd2b5b92a80b1cbaef8e5ee8f9b (patch) | |
tree | 3e15937592d13ee16813323327439f07f24a879b /printing/native_metafile.h | |
parent | 6903090e8ee9ab8c67977d139c4b51369ed70bc7 (diff) | |
download | chromium_src-01cec0a407740bd2b5b92a80b1cbaef8e5ee8f9b.zip chromium_src-01cec0a407740bd2b5b92a80b1cbaef8e5ee8f9b.tar.gz chromium_src-01cec0a407740bd2b5b92a80b1cbaef8e5ee8f9b.tar.bz2 |
Revert 78812 - 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78662
Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=78663
Review URL: http://codereview.chromium.org/6665046
TBR=vandebo@chromium.org
Review URL: http://codereview.chromium.org/6708046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78815 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 742ee27..ef1e546 100644 --- a/printing/native_metafile.h +++ b/printing/native_metafile.h @@ -26,10 +26,6 @@ class Rect; class Size; } -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; - // Prepares a context for rendering a new page at the specified // |content_origin| with the given |page_size| and a |scale_factor| to use for // the drawing. The units are in points (=1/72 in). Returns true on success. |