https://bugs.webkit.org/show_bug.cgi?id=35076
Reviewed by Dan Bernstein.
WebKit/win:
* WebKit.vcproj/WebKit.def: Added WebKitSystemParameterChanged.
* WebKit.vcproj/WebKit_debug.def: Added WebKitSystemParameterChanged.
* WebKitGraphics.cpp:
(WebKitSystemParameterChanged): Call through to wkSystemFontSmoothingChanged for font smoothing changes.
* WebKitGraphics.h: Added WebKitSystemParameterChanged.
WebKitLibraries:
* win/include/WebKitSystemInterface/WebKitSystemInterface.h:
* win/lib/WebKitSystemInterface.lib: Updated to add wkSystemFontSmoothingChanged.
* win/lib/WebKitSystemInterface_debug.lib: Updated to add wkSystemFontSmoothingChanged.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@54943
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2010-02-17 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Dan Bernstein.
+
+ WebKit on Windows needs a mechanism to listen for WM_SETTINGCHANGED messages
+ https://bugs.webkit.org/show_bug.cgi?id=35076
+
+ * WebKit.vcproj/WebKit.def: Added WebKitSystemParameterChanged.
+ * WebKit.vcproj/WebKit_debug.def: Added WebKitSystemParameterChanged.
+ * WebKitGraphics.cpp:
+ (WebKitSystemParameterChanged): Call through to wkSystemFontSmoothingChanged for font smoothing changes.
+ * WebKitGraphics.h: Added WebKitSystemParameterChanged.
+
2010-02-17 Dmitry Titov <dimich@chromium.org>
Reviewed by David Levin, Darin Fisher, Simon Hausmann.
WebKitSetShouldUseFontSmoothing
WebKitShouldUseFontSmoothing
WebKitCreateInstance
+ WebKitSystemParameterChanged
; These functions are deprecated
WebLocalizedString
WebKitSetShouldUseFontSmoothing
WebKitShouldUseFontSmoothing
WebKitCreateInstance
+ WebKitSystemParameterChanged
; These functions are deprecated
WebLocalizedString
{
return WebCoreShouldUseFontSmoothing();
}
+
+void WebKitSystemParameterChanged(UINT parameter)
+{
+ if (parameter == SPI_SETFONTSMOOTHING || parameter == SPI_SETFONTSMOOTHINGTYPE || parameter == SPI_SETFONTSMOOTHINGCONTRAST || parameter == SPI_SETFONTSMOOTHINGORIENTATION)
+ wkSystemFontSmoothingChanged();
+}
void WebKitSetShouldUseFontSmoothing(bool);
bool WebKitShouldUseFontSmoothing();
+void WebKitSystemParameterChanged(UINT parameter);
+
}
#endif // !defined(WebKitGraphics_h)
+2010-02-18 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Dan Bernstein.
+
+ WebKit on Windows needs a mechanism to listen for WM_SETTINGCHANGED messages
+ https://bugs.webkit.org/show_bug.cgi?id=35076
+
+ * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
+ * win/lib/WebKitSystemInterface.lib: Updated to add wkSystemFontSmoothingChanged.
+ * win/lib/WebKitSystemInterface_debug.lib: Updated to add wkSystemFontSmoothingChanged.
+
2010-02-16 Gavin Barraclough <barraclough@apple.com>
Reviewed by NOBODY (Build fix).
typedef struct __CFReadStream* CFReadStreamRef;
typedef const struct __CFURL* CFURLRef;
typedef struct _CFURLProtectionSpace* CFURLProtectionSpaceRef;
+typedef struct tagLOGFONTW LOGFONTW;
+typedef LOGFONTW LOGFONT;
void wkSetFontSmoothingLevel(int type);
int wkGetFontSmoothingLevel();
void wkSetFontSmoothingContrast(CGFloat);
CGFloat wkGetFontSmoothingContrast();
+void wkSystemFontSmoothingChanged();
uint32_t wkSetFontSmoothingStyle(CGContextRef cg, bool fontAllowsSmoothing);
void wkRestoreFontSmoothingStyle(CGContextRef cg, uint32_t oldStyle);
void wkSetCGContextFontRenderingStyle(CGContextRef, bool isSystemFont, bool isPrinterFont, bool usePlatformNativeGlyphs);