| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ | 5 #ifndef COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ |
| 6 #define COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ | 6 #define COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/c/private/ppb_pdf.h" | 10 #include "ppapi/c/private/ppb_pdf.h" |
| 11 | 11 |
| 12 namespace gfx { | |
| 13 class ImageSkia; | |
| 14 } | |
| 15 | |
| 16 namespace pdf { | 12 namespace pdf { |
| 17 | 13 |
| 18 gfx::ImageSkia* GetImageResource(PP_ResourceImage image_id); | |
| 19 | |
| 20 std::string GetStringResource(PP_ResourceString string_id); | 14 std::string GetStringResource(PP_ResourceString string_id); |
| 21 | 15 |
| 22 } // namespace pdf | 16 } // namespace pdf |
| 23 | 17 |
| 24 #endif // COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ | 18 #endif // COMPONENTS_PDF_RENDERER_PDF_RESOURCE_UTIL_H_ |
| OLD | NEW |