Add [I]WebTextRenderer
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2007 05:22:56 +0000 (05:22 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2007 05:22:56 +0000 (05:22 +0000)
commitc34ac23bef21ee1e414b7c7765e346ed2325b0f2
tree198eb016d51283313b483e1099b6d475e266d930
parenta4130e852263fe2d46732154c0a6f6674d7e7413
 Add [I]WebTextRenderer

 WebKitTools:

         Use WebTextRenderer in DRT

         Reviewed by Ada.

         * DumpRenderTree/win/DumpRenderTree.cpp:
         (initialize): Use WebTextRenderer instead of using
         InitializeCoreGraphics/AddFontResourceEx.

 WebKit/win:

         Add [I]WebTextRenderer

         Right now this class can only be used to add private fonts for use by
         the running process, but will eventually be the home of the
         WebKitGraphics functions.

         Reviewed by Ada.

         * ForEachCoClass.h: Added WebTextRenderer.
         * Interfaces/WebKit.idl: Ditto.
         * WebKit.vcproj/Interfaces.vcproj: Ditto.
         * WebKit.vcproj/WebKit.vcproj: Ditto.
         * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
         * WebKitClassFactory.cpp: Ditto.
         * WebTextRenderer.cpp: Added.
         (WebTextRenderer::createInstance):
         (WebTextRenderer::WebTextRenderer):
         (WebTextRenderer::~WebTextRenderer):
         (WebTextRenderer::QueryInterface):
         (WebTextRenderer::AddRef):
         (WebTextRenderer::Release):
         (WebTextRenderer::registerPrivateFont):
         * WebTextRenderer.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/win/ChangeLog
WebKit/win/ForEachCoClass.h
WebKit/win/Interfaces/WebKit.idl
WebKit/win/WebKit.vcproj/Interfaces.vcproj
WebKit/win/WebKit.vcproj/WebKit.vcproj
WebKit/win/WebKit.vcproj/WebKitGUID.vcproj
WebKit/win/WebKitClassFactory.cpp
WebKit/win/WebTextRenderer.cpp [new file with mode: 0644]
WebKit/win/WebTextRenderer.h [new file with mode: 0644]
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp