2009-01-12 Dimitri Glazkov <dglazkov@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Jan 2009 20:26:27 +0000 (20:26 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Jan 2009 20:26:27 +0000 (20:26 +0000)
        Reviewed by Eric Seidel.

        Add the first pieces of platform/graphics/chromium
        https://bugs.webkit.org/show_bug.cgi?id=23257

        * platform/graphics/chromium/ColorChromium.cpp: Added.
        (WebCore::focusRingColor):
        * platform/graphics/chromium/FontCacheChromiumWin.cpp: Added.
        (WebCore::FontCache::platformInit):
        (WebCore::isStringASCII):
        (WebCore::LookupAltName):
        (WebCore::FontCodepage::):
        (WebCore::FontCodepage::if):
        (WebCore::createFontIndirectAndGetWinName):
        (WebCore::fontContainsCharacter):
        (WebCore::FontCache::getFontDataForCharacters):
        (WebCore::FontCache::alternateFamilyName):
        (WebCore::FontCache::getSimilarFontPlatformData):
        (WebCore::FontCache::getLastResortFallbackFont):
        (WebCore::toGDIFontWeight):
        (WebCore::FontCache::getGenericFontForScript):
        (WebCore::FillLogFont):
        (WebCore::FontCache::fontExists):
        (WebCore::TraitsInFamilyProcData::TraitsInFamilyProcData):
        (WebCore::traitsInFamilyEnumProc):
        (WebCore::FontCache::getTraitsInFamily):
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/chromium/FontCacheLinux.cpp: Added.
        (WebCore::FontCache::platformInit):
        (WebCore::FontCache::getFontDataForCharacters):
        (WebCore::FontCache::alternateFamilyName):
        (WebCore::FontCache::getSimilarFontPlatformData):
        (WebCore::FontCache::getLastResortFallbackFont):
        (WebCore::FontCache::getTraitsInFamily):
        (WebCore::FontCache::createFontPlatformData):
        (WebCore::FontCache::getGenericFontForScript):
        * platform/graphics/chromium/FontChromiumWin.cpp: Added.
        (WebCore::windowsCanHandleTextDrawing):
        (WebCore::skiaDrawText):
        (WebCore::PaintSkiaText):
        (WebCore::Font::drawGlyphs):
        (WebCore::Font::selectionRectForComplexText):
        (WebCore::Font::drawComplexText):
        (WebCore::Font::floatWidthForComplexText):
        (WebCore::Font::offsetForPositionForComplexText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39830 268f45cc-cd09-0410-ab3c-d52691b4dbfc


No differences found