OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "webkit/plugins/ppapi/ppb_pdf_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_pdf_impl.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | |
8 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
9 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
10 #include "build/build_config.h" | 9 #include "build/build_config.h" |
11 #include "grit/webkit_resources.h" | 10 #include "grit/webkit_resources.h" |
12 #include "grit/webkit_strings.h" | 11 #include "grit/webkit_strings.h" |
13 #include "skia/ext/platform_canvas.h" | 12 #include "skia/ext/platform_canvas.h" |
14 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
15 #include "ppapi/c/private/ppb_pdf.h" | 14 #include "ppapi/c/private/ppb_pdf.h" |
16 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
| 16 #include "ui/base/resource/resource_bundle.h" |
17 #include "unicode/usearch.h" | 17 #include "unicode/usearch.h" |
18 #include "webkit/glue/webkit_glue.h" | 18 #include "webkit/glue/webkit_glue.h" |
19 #include "webkit/plugins/ppapi/plugin_delegate.h" | 19 #include "webkit/plugins/ppapi/plugin_delegate.h" |
20 #include "webkit/plugins/ppapi/plugin_module.h" | 20 #include "webkit/plugins/ppapi/plugin_module.h" |
21 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 21 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
22 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" | 22 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
23 #include "webkit/plugins/ppapi/var.h" | 23 #include "webkit/plugins/ppapi/var.h" |
24 | 24 |
25 namespace webkit { | 25 namespace webkit { |
26 namespace ppapi { | 26 namespace ppapi { |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 bool rv = webkit_glue::GetFontTable( | 296 bool rv = webkit_glue::GetFontTable( |
297 fd_, table, static_cast<uint8_t*>(output), &temp_size); | 297 fd_, table, static_cast<uint8_t*>(output), &temp_size); |
298 *output_length = static_cast<uint32_t>(temp_size); | 298 *output_length = static_cast<uint32_t>(temp_size); |
299 return rv; | 299 return rv; |
300 } | 300 } |
301 #endif | 301 #endif |
302 | 302 |
303 } // namespace ppapi | 303 } // namespace ppapi |
304 } // namespace webkit | 304 } // namespace webkit |
305 | 305 |
OLD | NEW |