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
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
index 5e05021..6e4d8db 100644
--- a/include/pdf/SkPDFDevice.h
+++ b/include/pdf/SkPDFDevice.h
@@ -120,27 +120,29 @@
/** 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