OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #include "webkit/glue/plugins/pepper_private.h" | 7 #include "webkit/glue/plugins/pepper_private.h" |
8 | 8 |
9 #include "unicode/usearch.h" | 9 #include "unicode/usearch.h" |
10 | 10 |
11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "grit/webkit_resources.h" | 14 #include "grit/webkit_resources.h" |
15 #include "grit/webkit_strings.h" | 15 #include "grit/webkit_strings.h" |
16 #include "skia/ext/platform_canvas.h" | 16 #include "skia/ext/platform_canvas.h" |
17 #include "third_party/ppapi/c/pp_resource.h" | 17 #include "ppapi/c/pp_resource.h" |
18 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
19 #include "webkit/glue/webkit_glue.h" | 19 #include "webkit/glue/webkit_glue.h" |
20 #include "webkit/glue/plugins/pepper_image_data.h" | 20 #include "webkit/glue/plugins/pepper_image_data.h" |
21 #include "webkit/glue/plugins/pepper_plugin_delegate.h" | 21 #include "webkit/glue/plugins/pepper_plugin_delegate.h" |
22 #include "webkit/glue/plugins/pepper_plugin_instance.h" | 22 #include "webkit/glue/plugins/pepper_plugin_instance.h" |
23 #include "webkit/glue/plugins/pepper_plugin_module.h" | 23 #include "webkit/glue/plugins/pepper_plugin_module.h" |
24 #include "webkit/glue/plugins/pepper_var.h" | 24 #include "webkit/glue/plugins/pepper_var.h" |
25 #include "webkit/glue/plugins/ppb_private.h" | 25 #include "webkit/glue/plugins/ppb_private.h" |
26 #include "webkit/glue/plugins/pepper_var.h" | 26 #include "webkit/glue/plugins/pepper_var.h" |
27 | 27 |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 uint32_t* output_length) { | 291 uint32_t* output_length) { |
292 size_t temp_size = static_cast<size_t>(*output_length); | 292 size_t temp_size = static_cast<size_t>(*output_length); |
293 bool rv = webkit_glue::GetFontTable( | 293 bool rv = webkit_glue::GetFontTable( |
294 fd_, table, static_cast<uint8_t*>(output), &temp_size); | 294 fd_, table, static_cast<uint8_t*>(output), &temp_size); |
295 *output_length = static_cast<uint32_t>(temp_size); | 295 *output_length = static_cast<uint32_t>(temp_size); |
296 return rv; | 296 return rv; |
297 } | 297 } |
298 #endif | 298 #endif |
299 | 299 |
300 } // namespace pepper | 300 } // namespace pepper |
OLD | NEW |