diff options
author | halcanary <halcanary@google.com> | 2014-11-10 14:20:05 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-10 22:20:34 +0000 |
commit | 5be808e0b7478b27304f5a29b47ba1af1de627d2 (patch) | |
tree | 366bb7805c87248f62a55edd86584828fc58f0c6 /skia/skia_chrome.gypi | |
parent | eeb7d1b688e3eabaf37341f8a84dec3c29aeac07 (diff) | |
download | chromium_src-5be808e0b7478b27304f5a29b47ba1af1de627d2.zip chromium_src-5be808e0b7478b27304f5a29b47ba1af1de627d2.tar.gz chromium_src-5be808e0b7478b27304f5a29b47ba1af1de627d2.tar.bz2 |
PdfMetafileSkia gives out a SkCanvas, not a SkBaseDevice.
Motivation: hide SkPDFDevice and SkPDFDocument behind PdfMetafileSkia class.
pdf_metafile_skia.cc:
Implement GetVectorCanvasForNewPage.
Remove StartPageForVectorCanvas.
Own the SkCanvas pointer (current_page_canvas_).
Replace page_outstanding_ field with a method that checks to see
if current_page_canvas_ is NULL.
Implement SaveTo.
skia::VectorPlatformDeviceSkia
remove class
print_web_view_helper.cc
Remove calls to canvas->getTopDevice()->setDrawingArea(...); (SkDFDevice)
This API is no longer effective.
print_web_view_helper_linux.cc,
print_web_view_helper_mac.mm,
print_web_view_helper_pdf_win.cc:
call GetVectorCanvasForNewPage rather than StartPageForVectorCanvas
BUG=278148
Review URL: https://codereview.chromium.org/704813002
Cr-Commit-Position: refs/heads/master@{#303522}
Diffstat (limited to 'skia/skia_chrome.gypi')
-rw-r--r-- | skia/skia_chrome.gypi | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/skia/skia_chrome.gypi b/skia/skia_chrome.gypi index 0f97556..7db9009 100644 --- a/skia/skia_chrome.gypi +++ b/skia/skia_chrome.gypi @@ -83,8 +83,6 @@ 'ext/vector_canvas.h', 'ext/vector_platform_device_emf_win.cc', 'ext/vector_platform_device_emf_win.h', - 'ext/vector_platform_device_skia.cc', - 'ext/vector_platform_device_skia.h', ], 'conditions': [ [ 'OS == "android" and ' @@ -93,15 +91,7 @@ 'ext/skia_utils_base.cc', ], }], - [ 'enable_basic_printing==0 and enable_print_preview==0', { - 'sources!': [ - 'ext/vector_platform_device_skia.cc', - ], - }], ['OS == "ios"', { - 'sources/': [ - ['exclude', '^ext/vector_platform_device_skia\\.'], - ], 'dependencies!': [ 'skia_chrome_opts', ], |