Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 28 #include "platform/graphics/GraphicsContext.h" | 28 #include "platform/graphics/GraphicsContext.h" |
| 29 | 29 |
| 30 #include "platform/TraceEvent.h" | 30 #include "platform/TraceEvent.h" |
| 31 #include "platform/geometry/IntRect.h" | 31 #include "platform/geometry/IntRect.h" |
| 32 #include "platform/graphics/ColorSpace.h" | 32 #include "platform/graphics/ColorSpace.h" |
| 33 #include "platform/graphics/Gradient.h" | 33 #include "platform/graphics/Gradient.h" |
| 34 #include "platform/graphics/GraphicsContextStateSaver.h" | 34 #include "platform/graphics/GraphicsContextStateSaver.h" |
| 35 #include "platform/graphics/ImageBuffer.h" | 35 #include "platform/graphics/ImageBuffer.h" |
| 36 #include "platform/graphics/paint/PaintController.h" | 36 #include "platform/graphics/paint/PaintController.h" |
| 37 #include "platform/weborigin/KURL.h" | 37 #include "platform/weborigin/KURL.h" |
| 38 #include "skia/ext/platform_device.h" | 38 #include "skia/ext/platform_canvas.h" |
|
f(malita)
2015/11/24 23:13:23
Interesting - do you happen to know what in Graphi
Tom Hudson
2015/11/25 15:50:35
Two calls to GetMetaData(), which is getting passe
| |
| 39 #include "third_party/skia/include/core/SkAnnotation.h" | 39 #include "third_party/skia/include/core/SkAnnotation.h" |
| 40 #include "third_party/skia/include/core/SkColorFilter.h" | 40 #include "third_party/skia/include/core/SkColorFilter.h" |
| 41 #include "third_party/skia/include/core/SkData.h" | 41 #include "third_party/skia/include/core/SkData.h" |
| 42 #include "third_party/skia/include/core/SkPicture.h" | 42 #include "third_party/skia/include/core/SkPicture.h" |
| 43 #include "third_party/skia/include/core/SkPictureRecorder.h" | 43 #include "third_party/skia/include/core/SkPictureRecorder.h" |
| 44 #include "third_party/skia/include/core/SkRRect.h" | 44 #include "third_party/skia/include/core/SkRRect.h" |
| 45 #include "third_party/skia/include/core/SkRefCnt.h" | 45 #include "third_party/skia/include/core/SkRefCnt.h" |
| 46 #include "third_party/skia/include/effects/SkLumaColorFilter.h" | 46 #include "third_party/skia/include/effects/SkLumaColorFilter.h" |
| 47 #include "third_party/skia/include/effects/SkPictureImageFilter.h" | 47 #include "third_party/skia/include/effects/SkPictureImageFilter.h" |
| 48 #include "third_party/skia/include/utils/SkNullCanvas.h" | 48 #include "third_party/skia/include/utils/SkNullCanvas.h" |
| (...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1344 static const SkPMColor colors[] = { | 1344 static const SkPMColor colors[] = { |
| 1345 SkPreMultiplyARGB(0x60, 0xFF, 0x00, 0x00), // More transparent red | 1345 SkPreMultiplyARGB(0x60, 0xFF, 0x00, 0x00), // More transparent red |
| 1346 SkPreMultiplyARGB(0x60, 0xC0, 0xC0, 0xC0) // More transparent gray | 1346 SkPreMultiplyARGB(0x60, 0xC0, 0xC0, 0xC0) // More transparent gray |
| 1347 }; | 1347 }; |
| 1348 | 1348 |
| 1349 return colors[index]; | 1349 return colors[index]; |
| 1350 } | 1350 } |
| 1351 #endif | 1351 #endif |
| 1352 | 1352 |
| 1353 } // namespace blink | 1353 } // namespace blink |
| OLD | NEW |