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)
commit110a2641f500ebc23b085b965d217f3a105e22f9
tree906d8479448542565f5a2ea5f38287431cffc565
parent89ee4d2049c7c61a4164d41c5d0dc00603f65756
2009-01-12  Dimitri Glazkov  <dglazkov@chromium.org>

        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
WebCore/ChangeLog
WebCore/platform/graphics/chromium/ColorChromium.cpp [new file with mode: 0644]
WebCore/platform/graphics/chromium/FontCacheChromiumWin.cpp [new file with mode: 0644]
WebCore/platform/graphics/chromium/FontCacheLinux.cpp [new file with mode: 0644]
WebCore/platform/graphics/chromium/FontChromiumWin.cpp [new file with mode: 0644]