Initial draft code to run pdfviewer withg gms
draft cl to run pdfviewer with gms 	modified:   gm/gmmain.cpp 	modified:   gyp/gm.gyp 	modified:   src/utils/SkPDFRasterizer.cpp 	modified:   src/utils/SkPDFRasterizer.h

R=scroggo@google.com, borenet@google.com

Author: edisonn@google.com

Review URL: https://codereview.chromium.org/26269002

git-svn-id: http://skia.googlecode.com/svn/trunk/src@12214 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/utils/SkPDFRasterizer.cpp b/utils/SkPDFRasterizer.cpp
index a3b4cb4..267c803 100644
--- a/utils/SkPDFRasterizer.cpp
+++ b/utils/SkPDFRasterizer.cpp
@@ -18,6 +18,7 @@
 
 #include "SkPDFRasterizer.h"
 #include "SkColorPriv.h"
+#include "SkPdfRenderer.h"
 
 bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output) {
   size_t size = pdf->getLength();
@@ -71,3 +72,7 @@
 
   return true;
 }
+
+bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output) {
+    return SkPDFNativeRenderToBitmap(pdf, output);
+}
diff --git a/utils/SkPDFRasterizer.h b/utils/SkPDFRasterizer.h
index 4a4083c..2f2bd02 100644
--- a/utils/SkPDFRasterizer.h
+++ b/utils/SkPDFRasterizer.h
@@ -11,5 +11,6 @@
 #include "SkStream.h"
 
 bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output);
+bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output);
 
 #endif