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. 4 5 #ifndef COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ 6 #define COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ 7 8 #include <string> 9 10 #include "ppapi/c/private/ppb_pdf.h" 11 12 namespace gfx { 13 class ImageSkia; 14 } 15 16 namespace pdf { 17 18 gfx::ImageSkia* GetImageResource(PP_ResourceImage image_id); 19 20 std::string GetStringResource(PP_ResourceString string_id); 21 22 } // namespace pdf 23 24 #endif // COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ 25