Changeset 64603 in webkit
- Timestamp:
- Aug 3, 2010 3:56:17 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r64599 r64603 1 2010-08-03 Jon Honeycutt <jhoneycutt@apple.com> 2 3 WebKitTestRunner needs to activate the Mac font ascent hack 4 https://bugs.webkit.org/show_bug.cgi?id=43404 5 6 Reviewed by Darin Adler. 7 8 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 9 (WKBundleActivateMacFontAscentHack): 10 Get the InjectedBundle, and calls its activateMacFontAscentHack(). 11 12 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 13 Declare WKBundleActivateMacFontAscentHack(). 14 15 * WebProcess/InjectedBundle/InjectedBundle.h: 16 Declare activateMacFontAscentHack(). 17 18 * WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp: 19 (WebKit::InjectedBundle::activateMacFontAscentHack): 20 Stubbed. 21 22 * WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp: 23 (WebKit::InjectedBundle::activateMacFontAscentHack): 24 Stubbed. 25 26 * WebProcess/InjectedBundle/win/InjectedBundleWin.cpp: 27 (WebKit::InjectedBundle::activateMacFontAscentHack): 28 Activate the ascent hack. 29 1 30 2010-08-03 Simon Fraser <simon.fraser@apple.com> 2 31 -
trunk/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r64396 r64603 58 58 toWK(bundleRef)->removeAllVisitedLinks(); 59 59 } 60 61 void WKBundleActivateMacFontAscentHack(WKBundleRef bundleRef) 62 { 63 toWK(bundleRef)->activateMacFontAscentHack(); 64 } -
trunk/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r64067 r64603 36 36 WK_EXPORT void WKBundleSetShouldTrackVisitedLinks(WKBundleRef bundle, bool shouldTrackVisitedLinks); 37 37 WK_EXPORT void WKBundleRemoveAllVisitedLinks(WKBundleRef bundle); 38 WK_EXPORT void WKBundleActivateMacFontAscentHack(WKBundleRef bundle); 38 39 39 40 #ifdef __cplusplus -
trunk/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r64396 r64603 71 71 void setShouldTrackVisitedLinks(bool); 72 72 void removeAllVisitedLinks(); 73 void activateMacFontAscentHack(); 73 74 74 75 // Callback hooks -
trunk/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp
r63825 r64603 87 87 } 88 88 89 void InjectedBundle::activateMacFontAscentHack() 90 { 91 } 92 89 93 } // namespace WebKit -
trunk/WebKit2/WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp
r62494 r64603 40 40 } 41 41 42 void InjectedBundle::activateMacFontAscentHack() 43 { 44 } 45 42 46 } // namespace WebKit -
trunk/WebKit2/WebProcess/InjectedBundle/win/InjectedBundleWin.cpp
r61222 r64603 28 28 #include "WKBundleAPICast.h" 29 29 #include "WKBundleInitialize.h" 30 #include <WebCore/SimpleFontData.h> 30 31 31 32 #include <windows.h> … … 80 81 } 81 82 83 void InjectedBundle::activateMacFontAscentHack() 84 { 85 SimpleFontData::setShouldApplyMacAscentHack(true); 86 } 87 82 88 } // namespace WebKit -
trunk/WebKitTools/ChangeLog
r64601 r64603 1 2010-08-03 Jon Honeycutt <jhoneycutt@apple.com> 2 3 WebKitTestRunner needs to activate the Mac font ascent hack 4 https://bugs.webkit.org/show_bug.cgi?id=43404 5 6 Reviewed by Darin Adler. 7 8 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: 9 (WTR::InjectedBundle::initialize): 10 Call WKBundleActivateMacFontAscentHack(). 11 1 12 2010-08-03 Alex Milowski <alex@milowski.com> 2 13 -
trunk/WebKitTools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
r64485 r64603 82 82 83 83 activateFonts(); 84 WKBundleActivateMacFontAscentHack(m_bundle); 84 85 } 85 86
Note: See TracChangeset
for help on using the changeset viewer.