pdf: Move the string/image resources for the pdf plugin.
[chromium-blink-merge.git] / components / pdf / renderer / pdf_resource_util.h
blobaab8a1cf47c45ff3685a6a7a5f60f570f4984aff
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_
6 #define COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_
8 #include <string>
10 #include "ppapi/c/private/ppb_pdf.h"
12 namespace gfx {
13 class ImageSkia;
16 namespace pdf {
18 gfx::ImageSkia* GetImageResource(PP_ResourceImage image_id);
20 std::string GetStringResource(PP_ResourceString string_id);
22 } // namespace pdf
24 #endif // COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_