| 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 "webkit/glue/plugins/pepper_private2.h" | 5 #include "webkit/glue/plugins/pepper_private2.h" |
| 6 | 6 |
| 7 #include "skia/ext/platform_canvas.h" | 7 #include "skia/ext/platform_canvas.h" |
| 8 #include "third_party/ppapi/c/pp_point.h" | 8 #include "ppapi/c/pp_point.h" |
| 9 #include "third_party/ppapi/c/pp_rect.h" | 9 #include "ppapi/c/pp_rect.h" |
| 10 #include "third_party/ppapi/c/dev/ppb_font_dev.h" | 10 #include "ppapi/c/dev/ppb_font_dev.h" |
| 11 #include "third_party/skia/include/core/SkCanvas.h" | 11 #include "third_party/skia/include/core/SkCanvas.h" |
| 12 #include "third_party/skia/include/core/SkMatrix.h" | 12 #include "third_party/skia/include/core/SkMatrix.h" |
| 13 #include "third_party/skia/include/core/SkPaint.h" | 13 #include "third_party/skia/include/core/SkPaint.h" |
| 14 #include "third_party/skia/include/core/SkPoint.h" | 14 #include "third_party/skia/include/core/SkPoint.h" |
| 15 #include "third_party/skia/include/core/SkTemplates.h" | 15 #include "third_party/skia/include/core/SkTemplates.h" |
| 16 #include "third_party/skia/include/core/SkTypeface.h" | 16 #include "third_party/skia/include/core/SkTypeface.h" |
| 17 #include "webkit/glue/plugins/pepper_image_data.h" | 17 #include "webkit/glue/plugins/pepper_image_data.h" |
| 18 #include "webkit/glue/plugins/pepper_var.h" | 18 #include "webkit/glue/plugins/pepper_var.h" |
| 19 | 19 |
| 20 namespace pepper { | 20 namespace pepper { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 101 } |
| 102 | 102 |
| 103 canvas->drawPosText(glyph_indices, glyph_count * 2, sk_positions, paint); | 103 canvas->drawPosText(glyph_indices, glyph_count * 2, sk_positions, paint); |
| 104 | 104 |
| 105 canvas->restore(); | 105 canvas->restore(); |
| 106 return true; | 106 return true; |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace pepper | 109 } // namespace pepper |
| 110 | 110 |
| OLD | NEW |