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 28 matching lines...) Expand all Loading... |
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/SkDevice.h" | 42 #include "third_party/skia/include/core/SkDevice.h" |
43 #include "third_party/skia/include/core/SkPicture.h" | 43 #include "third_party/skia/include/core/SkPicture.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/SkBlurMaskFilter.h" | 46 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" |
47 #include "third_party/skia/include/effects/SkCornerPathEffect.h" | 47 #include "third_party/skia/include/effects/SkCornerPathEffect.h" |
48 #include "third_party/skia/include/effects/SkLumaColorFilter.h" | 48 #include "third_party/skia/include/effects/SkLumaColorFilter.h" |
49 #include "weborigin/KURL.h" | 49 #include "platform/weborigin/KURL.h" |
50 #include "wtf/Assertions.h" | 50 #include "wtf/Assertions.h" |
51 #include "wtf/MathExtras.h" | 51 #include "wtf/MathExtras.h" |
52 | 52 |
53 #if OS(MACOSX) | 53 #if OS(MACOSX) |
54 #include <ApplicationServices/ApplicationServices.h> | 54 #include <ApplicationServices/ApplicationServices.h> |
55 #endif | 55 #endif |
56 | 56 |
57 using namespace std; | 57 using namespace std; |
58 | 58 |
59 namespace WebCore { | 59 namespace WebCore { |
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1956 | 1956 |
1957 void GraphicsContext::didDrawTextInRect(const SkRect& textRect) | 1957 void GraphicsContext::didDrawTextInRect(const SkRect& textRect) |
1958 { | 1958 { |
1959 if (m_trackTextRegion) { | 1959 if (m_trackTextRegion) { |
1960 TRACE_EVENT0("skia", "PlatformContextSkia::trackTextRegion"); | 1960 TRACE_EVENT0("skia", "PlatformContextSkia::trackTextRegion"); |
1961 m_textRegion.join(textRect); | 1961 m_textRegion.join(textRect); |
1962 } | 1962 } |
1963 } | 1963 } |
1964 | 1964 |
1965 } | 1965 } |
OLD | NEW |