| 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/plugins/ppapi/ppb_flash_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_flash_impl.h" |
| 6 | 6 |
| 7 #include "skia/ext/platform_canvas.h" | |
| 8 #include "ppapi/c/pp_point.h" | 7 #include "ppapi/c/pp_point.h" |
| 9 #include "ppapi/c/pp_rect.h" | 8 #include "ppapi/c/pp_rect.h" |
| 10 #include "ppapi/c/dev/ppb_font_dev.h" | 9 #include "ppapi/c/dev/ppb_font_dev.h" |
| 11 #include "ppapi/thunk/enter.h" | 10 #include "ppapi/thunk/enter.h" |
| 11 #include "skia/ext/platform_canvas.h" |
| 12 #include "third_party/skia/include/core/SkCanvas.h" | 12 #include "third_party/skia/include/core/SkCanvas.h" |
| 13 #include "third_party/skia/include/core/SkMatrix.h" | 13 #include "third_party/skia/include/core/SkMatrix.h" |
| 14 #include "third_party/skia/include/core/SkPaint.h" | 14 #include "third_party/skia/include/core/SkPaint.h" |
| 15 #include "third_party/skia/include/core/SkPoint.h" | 15 #include "third_party/skia/include/core/SkPoint.h" |
| 16 #include "third_party/skia/include/core/SkTemplates.h" | 16 #include "third_party/skia/include/core/SkTemplates.h" |
| 17 #include "third_party/skia/include/core/SkTypeface.h" | 17 #include "third_party/skia/include/core/SkTypeface.h" |
| 18 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" | 18 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
| 19 #include "webkit/plugins/ppapi/var.h" | 19 #include "webkit/plugins/ppapi/var.h" |
| 20 | 20 |
| 21 using ppapi::thunk::EnterResource; | 21 using ppapi::thunk::EnterResource; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 } | 109 } |
| 110 | 110 |
| 111 canvas->drawPosText(glyph_indices, glyph_count * 2, sk_positions, paint); | 111 canvas->drawPosText(glyph_indices, glyph_count * 2, sk_positions, paint); |
| 112 | 112 |
| 113 canvas->restore(); | 113 canvas->restore(); |
| 114 return PP_TRUE; | 114 return PP_TRUE; |
| 115 } | 115 } |
| 116 | 116 |
| 117 } // namespace ppapi | 117 } // namespace ppapi |
| 118 } // namespace webkit | 118 } // namespace webkit |
| 119 | |
| OLD | NEW |