Hi,

On 12/24/13, 9:17 AM, ksingh.sunil wrote:
How does the below code load a new theme? Is it loading a file for theme?

Rendertheme::rendertheme()
#if use(new-theme)
:m-theme(platformtheme())
#endif
platformtheme() is defined by each port to return its implementation of the theme. For example for Mac:
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/mac/ThemeMac.mm#L104
How can we provide a new theme?
The easiest is to modify the theme of your current WebKit port (Theme implementation, RenderTheme subclass and the relevant CSS files in Source/WebCore/css).

Benjamin
_______________________________________________
webkit-help mailing list
webkit-help@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to