aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/pdf/SkPDFDevice.h
diff options
context:
space:
mode:
authorGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-30 20:52:33 +0000
committerGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-30 20:52:33 +0000
commit3509f050810ab95cc36265f3b486b9569799041d (patch)
tree80bed6cef23947379a2fb7e603addd775cbc15e1 /include/pdf/SkPDFDevice.h
parentf0ec2666d9a3f0f1662f0d63b5147628c49648aa (diff)
Add more SK_API declarations to fix Chrome.
TBR=ctguil@chromium.org Review URL: http://codereview.appspot.com/4526088 git-svn-id: http://skia.googlecode.com/svn/trunk@1445 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf/SkPDFDevice.h')
-rw-r--r--include/pdf/SkPDFDevice.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
index 5e050211be..6e4d8db725 100644
--- a/include/pdf/SkPDFDevice.h
+++ b/include/pdf/SkPDFDevice.h
@@ -120,27 +120,29 @@ public:
/** Returns a reference to the resource dictionary for this device.
*/
- const SkRefPtr<SkPDFDict>& getResourceDict();
+ SK_API const SkRefPtr<SkPDFDict>& getResourceDict();
/** Get the list of resources (PDF objects) used on this page.
* @param resourceList A list to append the resources to.
*/
- void getResources(SkTDArray<SkPDFObject*>* resourceList) const;
+ SK_API void getResources(SkTDArray<SkPDFObject*>* resourceList) const;
/** Get the fonts used on this device.
*/
- const SkTDArray<SkPDFFont*>& getFontResources() const;
+ SK_API const SkTDArray<SkPDFFont*>& getFontResources() const;
/** Returns the media box for this device.
*/
- SkRefPtr<SkPDFArray> getMediaBox() const;
+ SK_API SkRefPtr<SkPDFArray> getMediaBox() const;
/** Returns a SkStream with the page contents. The caller is responsible
for a reference to the returned value.
*/
- SkStream* content() const;
+ SK_API SkStream* content() const;
- const SkMatrix& initialTransform() const { return fInitialTransform; }
+ SK_API const SkMatrix& initialTransform() const {
+ return fInitialTransform;
+ }
protected:
// override