diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 17:06:34 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 17:06:34 +0000 |
commit | 2b2a175e89b4f7caa54962f02e9ad0c79f52c74a (patch) | |
tree | 8e5cbdedf63668f46623ca4bc4fd1c8944162916 /webkit | |
parent | 62e176441dda58a361f5c3d9ee3edff7d5727681 (diff) | |
download | chromium_src-2b2a175e89b4f7caa54962f02e9ad0c79f52c74a.zip chromium_src-2b2a175e89b4f7caa54962f02e9ad0c79f52c74a.tar.gz chromium_src-2b2a175e89b4f7caa54962f02e9ad0c79f52c74a.tar.bz2 |
Mac changes for r4070 et seq. Make jsbindings, webcore, port, and glue share
the same HEADER_SEARCH_PATHS. For the couple of cases where we want to use
headers from third_party/WebKit, redirect the #includes in the port headers.
Review URL: http://codereview.chromium.org/8964
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webframe_impl.cc | 6 | ||||
-rw-r--r-- | webkit/port/platform/graphics/FontCustomPlatformData.h | 8 | ||||
-rw-r--r-- | webkit/port/platform/graphics/FontPlatformData.h | 5 | ||||
-rw-r--r-- | webkit/port/platform/graphics/PlatformContextSkia.h | 3 | ||||
-rw-r--r-- | webkit/port/platform/graphics/SkGraphicsContextMac.cpp | 400 | ||||
-rw-r--r-- | webkit/port/platform/graphics/chromium/ImageBufferData.h | 10 | ||||
-rw-r--r-- | webkit/webkit.xcodeproj/project.pbxproj | 24 |
7 files changed, 35 insertions, 421 deletions
diff --git a/webkit/glue/webframe_impl.cc b/webkit/glue/webframe_impl.cc index 71181a2..a84a104 100644 --- a/webkit/glue/webframe_impl.cc +++ b/webkit/glue/webframe_impl.cc @@ -1859,8 +1859,14 @@ bool WebFrameImpl::SpoolPage(int page, gfx::PlatformCanvas* canvas) { return false; } +#if defined(OS_WIN) || defined(OS_LINUX) PlatformContextSkia context(canvas); GraphicsContext spool(&context); +#elif defined(OS_MACOSX) + CGContextRef context = canvas->beginPlatformPaint(); + GraphicsContext spool(context); +#endif + DCHECK(pages_[page].x() == 0); // Offset to get the right square. spool.translate(0, -static_cast<float>(pages_[page].y())); diff --git a/webkit/port/platform/graphics/FontCustomPlatformData.h b/webkit/port/platform/graphics/FontCustomPlatformData.h index 1689491..8aa0fea 100644 --- a/webkit/port/platform/graphics/FontCustomPlatformData.h +++ b/webkit/port/platform/graphics/FontCustomPlatformData.h @@ -21,6 +21,13 @@ #ifndef FontCustomPlatformData_h #define FontCustomPlatformData_h +#if PLATFORM(DARWIN) +// TODO(port): This #include isn't strictly kosher, but we're currently using +// the Mac font code from upstream WebKit, and we need to pick up their header. +#undef FontCustomPlatformData_h +#include "third_party/WebKit/WebCore/platform/graphics/mac/FontCustomPlatformData.h" +#else + #include <wtf/Noncopyable.h> #if PLATFORM(WIN_OS) @@ -53,3 +60,4 @@ FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer*); } #endif +#endif diff --git a/webkit/port/platform/graphics/FontPlatformData.h b/webkit/port/platform/graphics/FontPlatformData.h index 0453244..306960b 100644 --- a/webkit/port/platform/graphics/FontPlatformData.h +++ b/webkit/port/platform/graphics/FontPlatformData.h @@ -12,6 +12,11 @@ #include "FontPlatformDataWin.h" #elif defined(OS_LINUX) #include "FontPlatformDataLinux.h" +#elif defined(OS_MACOSX) +// TODO(port): This #include isn't strictly kosher, but we're currently using +// the Mac font code from upstream WebKit, and we need to pick up their header. +#undef FontPlatformData_h +#include "third_party/WebKit/WebCore/platform/graphics/mac/FontPlatformData.h" #endif #endif // ifndef FontPlatformData_h diff --git a/webkit/port/platform/graphics/PlatformContextSkia.h b/webkit/port/platform/graphics/PlatformContextSkia.h index e259541..122a2b3 100644 --- a/webkit/port/platform/graphics/PlatformContextSkia.h +++ b/webkit/port/platform/graphics/PlatformContextSkia.h @@ -43,6 +43,9 @@ #if defined(OS_WIN) typedef HICON IconHandle; typedef HFONT FontHandle; +#elif defined(OS_MACOSX) +typedef CGImageRef IconHandle; +typedef CTFontRef FontHandle; #elif defined(OS_LINUX) // TODO(erg): Type needs to be defined for half the rest of the stack to // compile. When the corresponding implementation to this file gets written, diff --git a/webkit/port/platform/graphics/SkGraphicsContextMac.cpp b/webkit/port/platform/graphics/SkGraphicsContextMac.cpp deleted file mode 100644 index 133ec4a..0000000 --- a/webkit/port/platform/graphics/SkGraphicsContextMac.cpp +++ /dev/null @@ -1,400 +0,0 @@ -// Copyright (c) 2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "config.h" -#include "SkGraphicsContext.h" - -#include "base/gfx/platform_canvas_mac.h" -#include "base/gfx/image_operations.h" -#include "base/gfx/skia_utils_mac.h" -#include "base/logging.h" -#include "GraphicsContextPlatformPrivate.h" -#include "SkBitmap.h" -#include "NativeImageSkia.h" -#include "SkiaUtils.h" - -// These need to be moved -#include "ThemeData.h" - -#define kSkiaOrientation kHIThemeOrientationNormal - -namespace { - -// Draws the given bitmap to the given canvas. The subset of the source bitmap -// identified by src_rect is drawn to the given destination rect. The bitmap -// will be resampled to resample_width * resample_height (this is the size of -// the whole image, not the subset). See shouldResampleBitmap for more. -// -// This does a lot of computation to resample only the portion of the bitmap -// that will only be drawn. This is critical for performance since when we are -// scrolling, for example, we are only drawing a small strip of the image. -// Resampling the whole image every time is very slow, so this speeds up things -// dramatically. -void DrawResampledBitmap(SkCanvas& canvas, - SkPaint& paint, - const NativeImageSkia& bitmap, - const SkIRect& src_irect, - const SkRect& dest_rect) { - // First get the subset we need. This is efficient and does not copy pixels. - SkBitmap subset; - bitmap.extractSubset(&subset, src_irect); - SkRect src_rect; - src_rect.set(src_irect); - - // Whether we're doing a subset or using the full source image. - bool src_is_full = src_irect.fLeft == 0 && src_irect.fTop == 0 && - src_irect.width() == bitmap.width() && - src_irect.height() == bitmap.height(); - - // We will always draw in integer sizes, so round the destination rect. - SkIRect dest_rect_rounded; - dest_rect.round(&dest_rect_rounded); - SkIRect resized_image_rect; // Represents the size of the resized image. - resized_image_rect.set(0, 0, - dest_rect_rounded.width(), dest_rect_rounded.height()); - - if (src_is_full && - bitmap.hasResizedBitmap(dest_rect_rounded.width(), - dest_rect_rounded.height())) { - // Yay, this bitmap frame already has a resized version appropriate for us. - SkBitmap resampled = bitmap.resizedBitmap(dest_rect_rounded.width(), - dest_rect_rounded.height()); - canvas.drawBitmapRect(resampled, NULL, dest_rect, &paint); - return; - } - - // Compute the visible portion of our rect. - SkRect dest_bitmap_subset_sk; - ClipRectToCanvas(canvas, dest_rect, &dest_bitmap_subset_sk); - dest_bitmap_subset_sk.offset(-dest_rect.fLeft, -dest_rect.fTop); - - // The matrix inverting, etc. could have introduced rounding error which - // causes the bounds to be outside of the resized bitmap. We round outward so - // we always lean toward it being larger rather than smaller than we need, - // and then clamp to the bitmap bounds so we don't get any invalid data. - SkIRect dest_bitmap_subset_sk_i; - dest_bitmap_subset_sk.roundOut(&dest_bitmap_subset_sk_i); - if (!dest_bitmap_subset_sk_i.intersect(resized_image_rect)) - return; // Resized image does not intersect. - - if (src_is_full && bitmap.shouldCacheResampling( - resized_image_rect.width(), - resized_image_rect.height(), - dest_bitmap_subset_sk_i.width(), - dest_bitmap_subset_sk_i.height())) { - // We're supposed to resize the entire image and cache it, even though we - // don't need all of it. - SkBitmap resampled = bitmap.resizedBitmap(dest_rect_rounded.width(), - dest_rect_rounded.height()); - canvas.drawBitmapRect(resampled, NULL, dest_rect, &paint); - } else { - // We should only resize the exposed part of the bitmap to do the minimal - // possible work. - gfx::Rect dest_bitmap_subset(dest_bitmap_subset_sk_i.fLeft, - dest_bitmap_subset_sk_i.fTop, - dest_bitmap_subset_sk_i.width(), - dest_bitmap_subset_sk_i.height()); - - // Resample the needed part of the image. - SkBitmap resampled = gfx::ImageOperations::Resize(subset, - gfx::ImageOperations::RESIZE_LANCZOS3, - gfx::Size(dest_rect_rounded.width(), dest_rect_rounded.height()), - dest_bitmap_subset); - - // Compute where the new bitmap should be drawn. Since our new bitmap may be - // smaller than the original, we have to shift it over by the same amount - // that we cut off the top and left. - SkRect offset_dest_rect = { - dest_bitmap_subset.x() + dest_rect.fLeft, - dest_bitmap_subset.y() + dest_rect.fTop, - dest_bitmap_subset.right() + dest_rect.fLeft, - dest_bitmap_subset.bottom() + dest_rect.fTop }; - - canvas.drawBitmapRect(resampled, NULL, offset_dest_rect, &paint); - } -} - -} // namespace - -SkGraphicsContext::SkGraphicsContext(gfx::PlatformCanvas* canvas) - : canvas_(canvas), - paint_context_(NULL), - own_canvas_(false) { -} - -SkGraphicsContext::~SkGraphicsContext() { - if (own_canvas_) - delete canvas_; -} - -const gfx::NativeTheme* SkGraphicsContext::nativeTheme() { - // TODO(pinkerton): fix me - return nil; -} - -void SkGraphicsContext::paintIcon(CGImageRef icon, const SkIRect& rect) { - CGContextRef context = canvas_->beginPlatformPaint(); - CGRect r = gfx::SkIRectToCGRect(rect); - CGContextDrawImage(context, r, icon); - canvas_->endPlatformPaint(); -} - - -void SkGraphicsContext::paintButton(const SkIRect& widgetRect, - const ThemeData& themeData) { - CGContextRef context = canvas_->beginPlatformPaint(); - - int state = themeData.m_state; - CGRect rect(gfx::SkIRectToCGRect(widgetRect)); - HIThemeButtonDrawInfo button_draw_info = { 0 }; - button_draw_info.state = state; - CGRect label_rect; - - HIThemeDrawButton(&rect, &button_draw_info, context, - kSkiaOrientation, &label_rect); - - canvas_->endPlatformPaint(); -} - -void SkGraphicsContext::paintTextField(const SkIRect& widgetRect, - const ThemeData& themeData, - SkColor c, - bool drawEdges) { - CGContextRef context = canvas_->beginPlatformPaint(); - - int state = themeData.m_state; - CGRect rect(gfx::SkIRectToCGRect(widgetRect)); - CGContextSaveGState(context); - CGColorRef color = gfx::SkColorToCGColorRef(c); - CGContextSetFillColorWithColor(context, color); - CGContextFillRect(context, rect); - CGContextSetRGBStrokeColor(context, 0.0, 0.0, 0.0, 1.0); // black border for now - CGContextStrokeRect(context, rect); - CGContextRestoreGState(context); - CGColorRelease(color); - canvas_->endPlatformPaint(); -} - -void SkGraphicsContext::paintMenuListArrowButton(const SkIRect& widgetRect, - unsigned state, - unsigned classic_state) { - CGContextRef context = canvas_->beginPlatformPaint(); - - CGRect rect(gfx::SkIRectToCGRect(widgetRect)); - HIThemePopupArrowDrawInfo arrow_draw_info = { 0 }; - arrow_draw_info.state = state; - CGRect label_rect; - - HIThemeDrawPopupArrow(&rect, &arrow_draw_info, context, kSkiaOrientation); - - canvas_->endPlatformPaint(); -} - -void SkGraphicsContext::paintComplexText(UniscribeStateTextRun& state, - const SkPoint& point, - int from, - int to, - int ascent) { - SkColor sk_color(paint_context_->fillColor()); - uint8 alpha = SkColorGetA(sk_color); - // Skip 100% transparent text; no need to draw anything. - if (!alpha) - return; - - CGContextRef context = canvas_->beginPlatformPaint(); - CGContextSaveGState(context); - CGColorRef color = gfx::SkColorToCGColorRef(sk_color); - CGContextSetFillColorWithColor(context, color); - - //TODO: remove use of UniscribeStateTextRun; show placeholder to test other - // code for the moment - CGContextShowTextAtPoint(context, point.fX, point.fY, "complex", 7); - CGContextRestoreGState(context); - CGColorRelease(color); - canvas_->endPlatformPaint(); -} - -bool SkGraphicsContext::paintText(FontHandle font, - int number_glyph, - const uint16* chars, - const int* advances, - const SkPoint& origin) { - SkColor sk_color(paint_context_->fillColor()); - uint8 alpha = SkColorGetA(sk_color); - // Skip 100% transparent text; no need to draw anything. - if (!alpha) - return true; - - bool success = false; - CGContextRef context = canvas_->beginPlatformPaint(); - CGContextSaveGState(context); - CGColorRef color = gfx::SkColorToCGColorRef(sk_color); - CGContextSetFillColorWithColor(context, color); - CGContextMoveToPoint(context, origin.fX, origin.fY); - CGFontRef cg_font = CTFontCopyGraphicsFont(font, NULL); - CGContextSetFont(context, cg_font); - - CGSize cg_advances[number_glyph]; - CGGlyph cg_glyphs[number_glyph]; - - CTFontGetGlyphsForCharacters(font, chars, cg_glyphs, number_glyph); - CGContextShowGlyphsAtPoint(context, origin.fX, origin.fY, - cg_glyphs, number_glyph); - CGContextRestoreGState(context); - CGColorRelease(color); - CGFontRelease(cg_font); - canvas_->endPlatformPaint(); - return success; -} - -void SkGraphicsContext::paintSkPaint(const SkRect& rect, - const SkPaint& paint) { - canvas_->drawRect(rect, paint); -} - -// Returns smallest multiple of two of the dest size that is more than a small -// multiple larger than src_size. -// -// Used to determine the size that source should be high-quality upsampled to, -// after which we use linear interpolation. Making sure that the linear -// interpolation is a factor of two reduces artifacts, and doing the lowest -// level of resampling -static int GetResamplingThreshold(int src_size, int dest_size) { - int lower_bound = src_size * 3 / 2; // Minimum size we'll resample to (1.5x). - int cur = dest_size; - - // Find the largest multiple of two of the destination size less than our - // threshold - while (cur > lower_bound) - cur /= 2; - - // We want the next size above that, or just the destination size if it's - // smaller. - cur *= 2; - if (cur > dest_size) - return dest_size; - return cur; -} - -// static -SkGraphicsContext::ResamplingMode SkGraphicsContext::computeResamplingMode( - const NativeImageSkia& bitmap, - int src_width, int src_height, - float dest_width, float dest_height) { - int dest_iwidth = static_cast<int>(dest_width); - int dest_iheight = static_cast<int>(dest_height); - - // The percent change below which we will not resample. This usually means - // an off-by-one error on the web page, and just doing nearest neighbor - // sampling is usually good enough. - const float kFractionalChangeThreshold = 0.025f; - - // Images smaller than this in either direction are considered "small" and - // are not resampled ever (see below). - const int kSmallImageSizeThreshold = 8; - - // The amount an image can be stretched in a single direction before we - // say that it is being stretched so much that it must be a line or - // background that doesn't need resampling. - const float kLargeStretch = 3.0f; - - // Figure out if we should resample this image. We try to prune out some - // common cases where resampling won't give us anything, since it is much - // slower than drawing stretched. - if (src_width == dest_iwidth && src_height == dest_iheight) { - // We don't need to resample if the source and destination are the same. - return RESAMPLE_NONE; - } - - if (src_width <= kSmallImageSizeThreshold || - src_height <= kSmallImageSizeThreshold || - dest_width <= kSmallImageSizeThreshold || - dest_height <= kSmallImageSizeThreshold) { - // Never resample small images. These are often used for borders and - // rules (think 1x1 images used to make lines). - return RESAMPLE_NONE; - } - - if (src_height * kLargeStretch <= dest_height || - src_width * kLargeStretch <= dest_width) { - // Large image detected. - - // Don't resample if it is being stretched a lot in only one direction. - // This is trying to catch cases where somebody has created a border - // (which might be large) and then is stretching it to fill some part - // of the page. - if (src_width == dest_width || src_height == dest_height) - return RESAMPLE_NONE; - - // The image is growing a lot and in more than one direction. Resampling - // is slow and doesn't give us very much when growing a lot. - return RESAMPLE_LINEAR; - } - - if ((fabs(dest_width - src_width) / src_width < - kFractionalChangeThreshold) && - (fabs(dest_height - src_height) / src_height < - kFractionalChangeThreshold)) { - // It is disappointingly common on the web for image sizes to be off by - // one or two pixels. We don't bother resampling if the size difference - // is a small fraction of the original size. - return RESAMPLE_NONE; - } - - // When the image is not yet done loading, use linear. We don't cache the - // partially resampled images, and as they come in incrementally, it causes - // us to have to resample the whole thing every time. - if (!bitmap.isDataComplete()) - return RESAMPLE_LINEAR; - - // Everything else gets resampled. - return RESAMPLE_AWESOME; -} - -void SkGraphicsContext::paintSkBitmap(const NativeImageSkia& bitmap, - const SkIRect& src_rect, - const SkRect& dest_rect, - const SkPorterDuff::Mode& comp_op) { - SkPaint paint; - paint.setPorterDuffXfermode(comp_op); - - ResamplingMode resampling = IsPrinting() ? RESAMPLE_NONE : - computeResamplingMode(bitmap, src_rect.width(), src_rect.height(), - SkScalarToFloat(dest_rect.width()), - SkScalarToFloat(dest_rect.height())); - if (resampling == RESAMPLE_AWESOME) { - paint.setFilterBitmap(false); - DrawResampledBitmap(*canvas_, paint, bitmap, src_rect, dest_rect); - } else { - // No resampling necessary, we can just draw the bitmap. - // Note: for serialization, we will want to subset the bitmap first so - // we don't send extra pixels. - paint.setFilterBitmap(resampling == RESAMPLE_LINEAR); - canvas_->drawBitmapRect(bitmap, &src_rect, dest_rect, &paint); - } -} - -void SkGraphicsContext::setDashPathEffect(SkDashPathEffect *dash) { - paint_context_->setDashPathEffect(dash); -} - -void SkGraphicsContext::setGradient(SkShader *gradient) { - paint_context_->setGradient(gradient); -} - -void SkGraphicsContext::setPattern(SkShader *pattern) { - paint_context_->setPattern(pattern); -} - -const SkBitmap* SkGraphicsContext::bitmap() const { - return &canvas_->getDevice()->accessBitmap(false); -} - -gfx::PlatformCanvas* SkGraphicsContext::canvas() const { - return canvas_; -} - -bool SkGraphicsContext::IsPrinting() { - return canvas_->getTopPlatformDevice().IsVectorial(); -} diff --git a/webkit/port/platform/graphics/chromium/ImageBufferData.h b/webkit/port/platform/graphics/chromium/ImageBufferData.h index 267191b..227a258 100644 --- a/webkit/port/platform/graphics/chromium/ImageBufferData.h +++ b/webkit/port/platform/graphics/chromium/ImageBufferData.h @@ -26,6 +26,13 @@ #ifndef ImageBufferData_h #define ImageBufferData_h +#if PLATFORM(DARWIN) +// TODO(port): This #include isn't strictly kosher, but we're currently using +// the Mac font code from upstream WebKit, and we need to pick up their header. +#undef ImageBufferData_h +#include "third_party/WebKit/WebCore/platform/graphics/cg/ImageBufferData.h" +#else + #include "PlatformContextSkia.h" #include "base/gfx/platform_canvas.h" @@ -44,5 +51,6 @@ public: } // namespace WebCore -#endif // ImageBufferData_h +#endif +#endif // ImageBufferData_h diff --git a/webkit/webkit.xcodeproj/project.pbxproj b/webkit/webkit.xcodeproj/project.pbxproj index 7a3b97b..5e16012 100644 --- a/webkit/webkit.xcodeproj/project.pbxproj +++ b/webkit/webkit.xcodeproj/project.pbxproj @@ -1207,7 +1207,6 @@ E456270E0E268F03005E4685 /* webhistoryitem_impl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 825405410D92E3DA0006B936 /* webhistoryitem_impl.cc */; }; E45627100E268F03005E4685 /* password_form_dom_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8254051F0D92E3DA0006B936 /* password_form_dom_manager.cc */; }; E45627160E268F26005E4685 /* resource_handle_impl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 825405290D92E3DA0006B936 /* resource_handle_impl.cc */; }; - E45627E70E2694B8005E4685 /* SkPaintContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 82C260450DCB9A66005CFE91 /* SkPaintContext.cpp */; }; E45627E90E2694B8005E4685 /* BMPImageReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 82C260670DCBA013005CFE91 /* BMPImageReader.cpp */; }; E45627EA0E2694B8005E4685 /* BMPImageDecoder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 82C260690DCBA013005CFE91 /* BMPImageDecoder.cpp */; }; E45627EB0E2694B8005E4685 /* ICOImageDecoder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 82C260710DCBA02A005CFE91 /* ICOImageDecoder.cpp */; }; @@ -1249,7 +1248,6 @@ E4D08FDB0EAE7A5F0022CE54 /* EditorMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4D08FDA0EAE7A5F0022CE54 /* EditorMac.mm */; }; E4E4C7F90E781B5B009A687C /* webplugin_impl_mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4E4C7F80E781B5B009A687C /* webplugin_impl_mac.mm */; }; E4E4C8560E7832E2009A687C /* PlatformContextSkia.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4E4C8530E7832DC009A687C /* PlatformContextSkia.cpp */; }; - E4E4C88F0E783E49009A687C /* SkGraphicsContextMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4E4C88E0E783E49009A687C /* SkGraphicsContextMac.cpp */; }; E4E4C94A0E797648009A687C /* ImageSourceCG.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7B5E8FBD0D7F3CC1001ECF42 /* ImageSourceCG.cpp */; }; /* End PBXBuildFile section */ @@ -3708,7 +3706,6 @@ 820A61930DE7592C00871E2D /* WebCoreURLResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreURLResponse.h; sourceTree = "<group>"; }; 820A61940DE7592C00871E2D /* WebCoreURLResponse.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCoreURLResponse.mm; sourceTree = "<group>"; }; 822B1BEC0DC7793F005C9A96 /* PlatformContextSkia.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlatformContextSkia.h; sourceTree = "<group>"; }; - 822B1BFD0DC77A08005C9A96 /* SkGraphicsContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SkGraphicsContext.h; sourceTree = "<group>"; }; 825404EB0D92E3DA0006B936 /* alt_404_page_resource_fetcher.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = alt_404_page_resource_fetcher.cc; sourceTree = "<group>"; }; 825404EC0D92E3DA0006B936 /* alt_404_page_resource_fetcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = alt_404_page_resource_fetcher.h; sourceTree = "<group>"; }; 825404ED0D92E3DA0006B936 /* alt_error_page_resource_fetcher.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = alt_error_page_resource_fetcher.cc; sourceTree = "<group>"; }; @@ -3840,8 +3837,6 @@ 825405EE0D92E3FF0006B936 /* webplugin_delegate_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = webplugin_delegate_impl.h; sourceTree = "<group>"; }; 82761F810E3FAC700030D324 /* AccessibilityObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilityObject.cpp; sourceTree = "<group>"; }; 82761F820E3FAC700030D324 /* AccessibilityObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityObject.h; sourceTree = "<group>"; }; - 82C260440DCB9A66005CFE91 /* SkPaintContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SkPaintContext.h; sourceTree = "<group>"; }; - 82C260450DCB9A66005CFE91 /* SkPaintContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SkPaintContext.cpp; sourceTree = "<group>"; }; 82C2604A0DCB9AC1005CFE91 /* ImageSourceSkia.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ImageSourceSkia.cpp; sourceTree = "<group>"; }; 82C2604B0DCB9AC1005CFE91 /* ImageSourceSkia.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageSourceSkia.h; sourceTree = "<group>"; }; 82C260660DCBA013005CFE91 /* BMPImageReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BMPImageReader.h; sourceTree = "<group>"; }; @@ -4134,7 +4129,6 @@ E4D08FDA0EAE7A5F0022CE54 /* EditorMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = EditorMac.mm; path = mac/EditorMac.mm; sourceTree = "<group>"; }; E4E4C7F80E781B5B009A687C /* webplugin_impl_mac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = webplugin_impl_mac.mm; sourceTree = "<group>"; }; E4E4C8530E7832DC009A687C /* PlatformContextSkia.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlatformContextSkia.cpp; sourceTree = "<group>"; }; - E4E4C88E0E783E49009A687C /* SkGraphicsContextMac.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SkGraphicsContextMac.cpp; sourceTree = "<group>"; }; E4E4CA190E80208A009A687C /* FontCacheMacPending.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FontCacheMacPending.cpp; sourceTree = "<group>"; }; /* End PBXFileReference section */ @@ -7192,10 +7186,6 @@ E48A07230E3F95A000172919 /* NativeImageSkia.h */, E4E4C8530E7832DC009A687C /* PlatformContextSkia.cpp */, 822B1BEC0DC7793F005C9A96 /* PlatformContextSkia.h */, - E4E4C88E0E783E49009A687C /* SkGraphicsContextMac.cpp */, - 822B1BFD0DC77A08005C9A96 /* SkGraphicsContext.h */, - 82C260440DCB9A66005CFE91 /* SkPaintContext.h */, - 82C260450DCB9A66005CFE91 /* SkPaintContext.cpp */, E45062DF0E40B5420025A81A /* SkiaUtils.cpp */, E45062E00E40B5420025A81A /* SkiaUtils.h */, ); @@ -9100,9 +9090,7 @@ E473F6620EAE00D5006C2098 /* ScrollView.cpp in Sources */, E473F6640EAE00E4006C2098 /* SearchPopupMenuChromium.cpp in Sources */, E473F6660EAE00F4006C2098 /* SharedTimerChromium.cpp in Sources */, - E4E4C88F0E783E49009A687C /* SkGraphicsContextMac.cpp in Sources */, E45062E10E40B5420025A81A /* SkiaUtils.cpp in Sources */, - E45627E70E2694B8005E4685 /* SkPaintContext.cpp in Sources */, E473F6680EAE0109006C2098 /* SoundPosix.cpp in Sources */, E473F66E0EAE012D006C2098 /* SSLKeyGeneratorChromium.cpp in Sources */, E473F6700EAE016A006C2098 /* SystemTimeChromium.cpp in Sources */, @@ -9317,7 +9305,9 @@ "$(DIR_PORT)/page", "$(DIR_PORT)/page/chromium", "$(DIR_PORT)/page/inspector", + "$(DIR_PORT)/platform", "$(DIR_PORT)/platform/chromium", + "$(DIR_PORT)/platform/graphics", "$(DIR_PORT)/platform/graphics/chromium", "$(DIR_PORT)/platform/image-decoders", "$(DIR_PORT)/platform/image-decoders/bmp", @@ -9442,7 +9432,9 @@ "$(DIR_PORT)/page", "$(DIR_PORT)/page/chromium", "$(DIR_PORT)/page/inspector", + "$(DIR_PORT)/platform", "$(DIR_PORT)/platform/chromium", + "$(DIR_PORT)/platform/graphics", "$(DIR_PORT)/platform/graphics/chromium", "$(DIR_PORT)/platform/image-decoders", "$(DIR_PORT)/platform/image-decoders/bmp", @@ -9644,8 +9636,6 @@ GCC_PREFIX_HEADER = ../third_party/WebKit/WebCore/WebCorePrefix.h; HEADER_SEARCH_PATHS = ( "$(HEADER_SEARCH_PATHS)", - "$(DIR_PORT)/platform", - "$(DIR_PORT)/platform/graphics", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/bindings", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/WebCore", "$(CONFIGURATION_TEMP_DIR)/generated/include/v8", @@ -9662,8 +9652,6 @@ GCC_PREFIX_HEADER = ../third_party/WebKit/WebCore/WebCorePrefix.h; HEADER_SEARCH_PATHS = ( "$(HEADER_SEARCH_PATHS)", - "$(DIR_PORT)/platform", - "$(DIR_PORT)/platform/graphics", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/bindings", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/WebCore", "$(CONFIGURATION_TEMP_DIR)/generated/include/v8", @@ -9694,8 +9682,6 @@ GCC_PREFIX_HEADER = ../third_party/WebKit/WebCore/WebCorePrefix.h; HEADER_SEARCH_PATHS = ( "$(HEADER_SEARCH_PATHS)", - "$(DIR_PORT)/platform", - "$(DIR_PORT)/platform/graphics", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/bindings", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/WebCore", "$(CONFIGURATION_TEMP_DIR)/generated/include/v8", @@ -9715,8 +9701,6 @@ GCC_PREFIX_HEADER = ../third_party/WebKit/WebCore/WebCorePrefix.h; HEADER_SEARCH_PATHS = ( "$(HEADER_SEARCH_PATHS)", - "$(DIR_PORT)/platform", - "$(DIR_PORT)/platform/graphics", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/bindings", "$(CONFIGURATION_TEMP_DIR)/generated/DerivedSources/v8/WebCore", "$(CONFIGURATION_TEMP_DIR)/generated/include/v8", |