Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: components/pdf/renderer/pdf_resource_util.h

Issue 506473003: pdf: Move the string/image resources for the pdf plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf-host-component
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/pdf/renderer/pdf_resource_util.h
diff --git a/components/pdf/renderer/pdf_resource_util.h b/components/pdf/renderer/pdf_resource_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..aab8a1cf47c45ff3685a6a7a5f60f570f4984aff
--- /dev/null
+++ b/components/pdf/renderer/pdf_resource_util.h
@@ -0,0 +1,24 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_
+#define COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_
+
+#include <string>
+
+#include "ppapi/c/private/ppb_pdf.h"
+
+namespace gfx {
+class ImageSkia;
+}
+
+namespace pdf {
+
+gfx::ImageSkia* GetImageResource(PP_ResourceImage image_id);
+
+std::string GetStringResource(PP_ResourceString string_id);
+
+} // namespace pdf
+
+#endif // COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698