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 12 matching lines...) Expand all Loading... |
23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
24 * THE POSSIBILITY OF SUCH DAMAGE. | 24 * THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 #include "core/platform/graphics/GraphicsContext.h" | 28 #include "core/platform/graphics/GraphicsContext.h" |
29 | 29 |
30 #include "core/platform/graphics/BitmapImage.h" | 30 #include "core/platform/graphics/BitmapImage.h" |
31 #include "core/platform/graphics/Gradient.h" | 31 #include "core/platform/graphics/Gradient.h" |
32 #include "core/platform/graphics/ImageBuffer.h" | 32 #include "core/platform/graphics/ImageBuffer.h" |
33 #include "core/platform/graphics/IntRect.h" | |
34 #include "core/platform/graphics/RoundedRect.h" | 33 #include "core/platform/graphics/RoundedRect.h" |
35 #include "core/platform/graphics/TextRunIterator.h" | 34 #include "core/platform/graphics/TextRunIterator.h" |
36 #include "core/platform/graphics/skia/SkiaUtils.h" | 35 #include "core/platform/graphics/skia/SkiaUtils.h" |
37 #include "core/platform/text/BidiResolver.h" | 36 #include "core/platform/text/BidiResolver.h" |
| 37 #include "platform/geometry/IntRect.h" |
38 #include "third_party/skia/include/core/SkAnnotation.h" | 38 #include "third_party/skia/include/core/SkAnnotation.h" |
39 #include "third_party/skia/include/core/SkColorFilter.h" | 39 #include "third_party/skia/include/core/SkColorFilter.h" |
40 #include "third_party/skia/include/core/SkData.h" | 40 #include "third_party/skia/include/core/SkData.h" |
41 #include "third_party/skia/include/core/SkDevice.h" | 41 #include "third_party/skia/include/core/SkDevice.h" |
42 #include "third_party/skia/include/core/SkRRect.h" | 42 #include "third_party/skia/include/core/SkRRect.h" |
43 #include "third_party/skia/include/core/SkRefCnt.h" | 43 #include "third_party/skia/include/core/SkRefCnt.h" |
44 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" | 44 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" |
45 #include "third_party/skia/include/effects/SkCornerPathEffect.h" | 45 #include "third_party/skia/include/effects/SkCornerPathEffect.h" |
46 #include "third_party/skia/include/effects/SkLumaXfermode.h" | 46 #include "third_party/skia/include/effects/SkLumaXfermode.h" |
47 #include "weborigin/KURL.h" | 47 #include "weborigin/KURL.h" |
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1889 | 1889 |
1890 void GraphicsContext::didDrawTextInRect(const SkRect& textRect) | 1890 void GraphicsContext::didDrawTextInRect(const SkRect& textRect) |
1891 { | 1891 { |
1892 if (m_trackTextRegion) { | 1892 if (m_trackTextRegion) { |
1893 TRACE_EVENT0("skia", "PlatformContextSkia::trackTextRegion"); | 1893 TRACE_EVENT0("skia", "PlatformContextSkia::trackTextRegion"); |
1894 m_textRegion.join(textRect); | 1894 m_textRegion.join(textRect); |
1895 } | 1895 } |
1896 } | 1896 } |
1897 | 1897 |
1898 } | 1898 } |
OLD | NEW |