Changeset 85501 in webkit
- Timestamp:
- May 2, 2011 12:11:17 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r85499 r85501 1 2011-05-02 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Anders Carlsson. 4 5 Prune ApplicationServices.h out of the headers 6 https://bugs.webkit.org/show_bug.cgi?id=59952 7 8 More forward declares are better. 9 10 * html/canvas/CanvasRenderingContext2D.cpp: 11 * html/canvas/CanvasRenderingContext2D.h: 12 * platform/graphics/GlyphBuffer.h: 13 * platform/graphics/cg/ImageBufferCG.cpp: 14 * platform/graphics/cg/PDFDocumentImage.cpp: 15 * platform/graphics/cg/PDFDocumentImage.h: 16 * platform/graphics/mac/ComplexTextController.h: 17 * platform/graphics/mac/ComplexTextControllerCoreText.cpp: 18 * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: 19 * platform/mac/ScrollAnimatorMac.h: 20 * platform/mac/ScrollAnimatorMac.mm: 21 * platform/mac/ScrollbarThemeMac.h: 22 * platform/mac/ScrollbarThemeMac.mm: 23 * platform/mac/WebCoreNSStringExtras.h: 24 * platform/mac/WebCoreSystemInterface.h: 25 1 26 2011-05-02 Dan Bernstein <mitz@apple.com> 2 27 -
trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
r85143 r85501 77 77 #include <wtf/UnusedParam.h> 78 78 79 #if USE(CG) 80 #include <ApplicationServices/ApplicationServices.h> 81 #endif 82 79 83 using namespace std; 80 84 -
trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.h
r84764 r85501 35 35 #include "Path.h" 36 36 #include "PlatformString.h" 37 38 37 #include <wtf/Vector.h> 39 38 40 #if USE(CG)41 #include <ApplicationServices/ApplicationServices.h>42 #endif43 39 44 40 #if USE(ACCELERATED_COMPOSITING) -
trunk/Source/WebCore/platform/graphics/GlyphBuffer.h
r84489 r85501 37 37 38 38 #if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROME) 39 #include < ApplicationServices/ApplicationServices.h>39 #include <CoreGraphics/CGGeometry.h> 40 40 #endif 41 41 -
trunk/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp
r84842 r85501 47 47 #endif 48 48 49 #if USE(IOSURFACE_CANVAS_BACKING_STORE) 50 #include <IOSurface/IOSurface.h> 51 #endif 52 49 53 using namespace std; 50 54 -
trunk/Source/WebCore/platform/graphics/cg/PDFDocumentImage.cpp
r84504 r85501 33 33 #include "ImageObserver.h" 34 34 #include "SharedBuffer.h" 35 #include <CoreGraphics/CGContext.h> 36 #include <CoreGraphics/CGPDFDocument.h> 35 37 #include <wtf/MathExtras.h> 36 38 #include <wtf/RetainPtr.h> -
trunk/Source/WebCore/platform/graphics/cg/PDFDocumentImage.h
r84101 r85501 27 27 #define PDFDocumentImage_h 28 28 29 #include "Image.h"30 31 29 #include "FloatRect.h" 32 30 #include "GraphicsTypes.h" 31 #include "Image.h" 33 32 34 33 #if USE(CG) 35 34 36 #include <ApplicationServices/ApplicationServices.h> 35 typedef struct CGPDFDocument *CGPDFDocumentRef; 37 36 38 37 namespace WebCore { -
trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.h
r85036 r85501 26 26 #define ComplexTextController_h 27 27 28 #include <ApplicationServices/ApplicationServices.h>29 28 #include "GlyphBuffer.h" 30 29 #include <wtf/HashSet.h> … … 34 33 #include <wtf/Vector.h> 35 34 #include <wtf/unicode/Unicode.h> 35 36 typedef unsigned short CGGlyph; 37 typedef const struct __CTRun * CTRunRef; 38 typedef const struct __CTLine * CTLineRef; 36 39 37 40 namespace WebCore { -
trunk/Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.cpp
r85036 r85501 24 24 25 25 #include "config.h" 26 #include "ComplexTextController.h"27 #include "TextRun.h"28 #include "WebCoreSystemInterface.h"29 26 30 27 #if USE(CORE_TEXT) 31 28 29 #include "ComplexTextController.h" 30 32 31 #include "Font.h" 32 #include "TextRun.h" 33 #include "WebCoreSystemInterface.h" 34 #include <CoreText/CoreText.h> 33 35 34 36 #if defined(BUILDING_ON_LEOPARD) -
trunk/Source/WebCore/platform/graphics/mac/GlyphPageTreeNodeMac.cpp
r85036 r85501 29 29 #include "config.h" 30 30 #include "GlyphPageTreeNode.h" 31 31 32 #include "Font.h" 32 33 33 #include "SimpleFontData.h" 34 34 #include "WebCoreSystemInterface.h" -
trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.h
r84553 r85501 34 34 #include "ScrollAnimator.h" 35 35 #include "Timer.h" 36 #include "WebCoreSystemInterface.h"37 36 #include <wtf/RetainPtr.h> 38 37 … … 47 46 class ScrollbarPainterControllerDelegate; 48 47 class ScrollbarPainterDelegate; 48 #endif 49 50 #if USE(WK_SCROLLBAR_PAINTER) 51 typedef struct __WKScrollbarPainterController *WKScrollbarPainterControllerRef; 49 52 #endif 50 53 -
trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.mm
r84553 r85501 37 37 #include "ScrollbarTheme.h" 38 38 #include "ScrollbarThemeMac.h" 39 #include "WebCoreSystemInterface.h" 39 40 #include <wtf/PassOwnPtr.h> 40 41 #include <wtf/UnusedParam.h> -
trunk/Source/WebCore/platform/mac/ScrollbarThemeMac.h
r84767 r85501 28 28 29 29 #include "ScrollbarThemeComposite.h" 30 #include "WebCoreSystemInterface.h" 30 31 #if USE(WK_SCROLLBAR_PAINTER) 32 typedef struct __WKScrollbarPainter *WKScrollbarPainterRef; 33 #endif 31 34 32 35 namespace WebCore { -
trunk/Source/WebCore/platform/mac/ScrollbarThemeMac.mm
r85269 r85501 32 32 #include "ScrollAnimatorMac.h" 33 33 #include "ScrollView.h" 34 #include "WebCoreSystemInterface.h" 34 35 #include <Carbon/Carbon.h> 35 36 #include <wtf/HashMap.h> -
trunk/Source/WebCore/platform/mac/WebCoreNSStringExtras.h
r38333 r85501 27 27 */ 28 28 29 #include <ApplicationServices/ApplicationServices.h>30 29 #include <objc/objc.h> 31 30 -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h
r85036 r85501 27 27 #define WebCoreSystemInterface_h 28 28 29 #include <ApplicationServices/ApplicationServices.h>30 29 #include <objc/objc.h> 31 30 31 typedef const struct __CFString * CFStringRef; 32 typedef const struct __CFNumber * CFNumberRef; 33 typedef const struct __CFDictionary * CFDictionaryRef; 34 typedef struct CGPoint CGPoint; 35 typedef struct CGSize CGSize; 36 typedef struct CGRect CGRect; 37 typedef struct CGAffineTransform CGAffineTransform; 38 typedef struct CGContext *CGContextRef; 39 typedef struct CGImage *CGImageRef; 40 typedef struct CGColor *CGColorRef; 41 typedef struct CGFont *CGFontRef; 42 typedef struct CGColorSpace *CGColorSpaceRef; 43 typedef unsigned short CGGlyph; 44 typedef struct __CFReadStream * CFReadStreamRef; 45 typedef struct __CFRunLoop * CFRunLoopRef; 46 typedef struct __CFHTTPMessage *CFHTTPMessageRef; 47 typedef struct _CFURLResponse *CFURLResponseRef; 48 typedef const struct __CTLine * CTLineRef; 49 typedef const struct __CTTypesetter * CTTypesetterRef; 50 typedef const struct __AXUIElement *AXUIElementRef; 51 typedef uint32_t ATSUFontID; 52 typedef uint16_t ATSGlyphRef; 53 typedef struct _NSRange NSRange; 54 32 55 #if PLATFORM(MAC) && USE(CA) && !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD) 33 #include <IOSurface/IOSurface.h> 34 #endif 35 36 typedef struct _NSRange NSRange; 56 typedef struct __IOSurface *IOSurfaceRef; 57 #endif 37 58 38 59 #ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES … … 86 107 class QTMovieView; 87 108 #endif 88 89 typedef struct _CFURLResponse *CFURLResponseRef;90 109 91 110 extern "C" {
Note: See TracChangeset
for help on using the changeset viewer.