2012-02-08 James Robinson r107042 caused compile breakages on chromium try bots https://bugs.webkit.org/show_bug.cgi?id=78125 Reviewed by Adam Barth. Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file basis. * Platform.gyp/Platform.gyp: * Platform.gyp/copy_webcore_headers.py: Removed. 2012-02-07 James Robinson [chromium] Move geometry headers in Platform API to Platform directory https://bugs.webkit.org/show_bug.cgi?id=78067 Reviewed by Adam Barth. This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public. These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a bit of an issue. I've added an extra build step to copy the specific headers used into the SHARED_INTERMEDIATE_DIR to preserve this inlining. Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing that requires non-trivial modifications to every build system in WebKit. * Platform.gyp/Platform.gyp: * Platform.gyp/copy_webcore_headers.py: Added. (CopyHeaders): (Main): * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h. (WebKit): (WebFloatPoint): (WebKit::WebFloatPoint::WebFloatPoint): (WebKit::WebFloatPoint::operator=): (WebKit::WebFloatPoint::operator WebCore::FloatPoint): (WebKit::operator==): (WebKit::operator!=): * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h. (WebKit): (WebFloatQuad): (WebKit::WebFloatQuad::WebFloatQuad): (WebKit::WebFloatQuad::operator=): * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h. (WebKit): (WebFloatRect): (WebKit::WebFloatRect::isEmpty): (WebKit::WebFloatRect::WebFloatRect): (WebKit::WebFloatRect::operator=): (WebKit::WebFloatRect::operator WebCore::FloatRect): (WebKit::operator==): (WebKit::operator!=): * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h. (WebKit): (WebPoint): (WebKit::WebPoint::WebPoint): (WebKit::WebPoint::operator=): (WebKit::WebPoint::operator WebCore::IntPoint): (WebKit::WebPoint::operator gfx::Point): (WebKit::operator==): (WebKit::operator!=): * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h. (WebKit): (WebRect): (WebKit::WebRect::isEmpty): (WebKit::WebRect::WebRect): (WebKit::WebRect::operator=): (WebKit::WebRect::operator WebCore::IntRect): (WebKit::WebRect::operator gfx::Rect): (WebKit::operator==): (WebKit::operator!=): * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h. (WebKit): (WebSize): (WebKit::WebSize::isEmpty): (WebKit::WebSize::WebSize): (WebKit::WebSize::operator=): (WebKit::WebSize::operator WebCore::IntSize): (WebKit::WebSize::operator gfx::Size): (WebKit::operator==): (WebKit::operator!=): 2012-01-19 Joi Sigurdsson Enable use of precompiled headers in Chromium port on Windows. Bug 76381 - Use precompiled headers in Chromium port on Windows https://bugs.webkit.org/show_bug.cgi?id=76381 Reviewed by Tony Chang. * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi. 2012-01-04 James Robinson [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl * Platform.gyp/Platform.gyp: 2012-01-04 James Robinson [chromium] Move WebMimeRegistry and dependencies to Source/Platform https://bugs.webkit.org/show_bug.cgi?id=74583 Reviewed by Darin Fisher. This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h along with its dependencies (WebString and WebCString) to their final location. * Platform.gyp/Platform.gyp: Added. * Platform.gypi: Added. * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h. (WebKit::WebCString::~WebCString): (WebKit::WebCString::WebCString): (WebKit::WebCString::operator=): (WebKit::WebCString::isEmpty): (WebKit::WebCString::isNull): (WebKit::WebCString::operator std::string): (WebKit::WebCString::fromUTF16): (WebKit::operator<): * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h. * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h. (WebKit::WebMimeRegistry::~WebMimeRegistry): * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h. (WebKit::WebString::~WebString): (WebKit::WebString::WebString): (WebKit::WebString::operator=): (WebKit::WebString::isEmpty): (WebKit::WebString::isNull): (WebKit::WebString::operator string16): (WebKit::WebString::operator NullableString16): (WebKit::WebString::fromUTF8): (WebKit::operator==): (WebKit::operator!=): * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp. (WebKit::WebCString::compare): (WebKit::WebCString::reset): (WebKit::WebCString::assign): (WebKit::WebCString::length): (WebKit::WebCString::data): (WebKit::WebCString::utf16): (WebKit::WebCString::fromUTF16): (WebKit::WebCString::WebCString): (WebKit::WebCString::operator=): (WebKit::WebCString::operator WTF::CString): * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp. (WebKit::WebString::reset): (WebKit::WebString::assign): (WebKit::WebString::length): (WebKit::WebString::data): (WebKit::WebString::utf8): (WebKit::WebString::fromUTF8): (WebKit::WebString::equals): (WebKit::WebString::WebString): (WebKit::WebString::operator=): (WebKit::WebString::operator WTF::String): (WebKit::WebString::operator WTF::AtomicString): 2011-11-02 Adam Barth Add stubs for WTF and Platform https://bugs.webkit.org/show_bug.cgi?id=71492 Reviewed by Eric Seidel. This patch creates the Platform directory, which begins the process of moving Platform out of WebCore.