[Webkit-unassigned] [Bug 34571] Implementation of browser shell on Haiku platform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 05:09:19 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34571





--- Comment #2 from Maxime Simon <simon.maxime at gmail.com>  2010-02-04 05:09:19 PST ---
+WebProcess::WebProcess(WebView* webView)
[...]
+    // Default settings - We should have WebViewSettings class for this.
+    WebCore::Settings* settings = m_page->settings();
+    settings->setLoadsImagesAutomatically(true);
+    settings->setMinimumFontSize(5);
+    settings->setMinimumLogicalFontSize(5);
+    settings->setShouldPrintBackgrounds(true);
+    settings->setJavaScriptEnabled(true);
+
+    settings->setDefaultFixedFontSize(14);
+    settings->setDefaultFontSize(14);
+
+    // TODO: Init from system fonts or application settings.
+    settings->setSerifFontFamily("DejaVu Serif");
+    settings->setSansSerifFontFamily("DejaVu Sans");
+    settings->setFixedFontFamily("DejaVu Sans Mono");
+    settings->setStandardFontFamily("DejaVu Serif");
+    settings->setDefaultTextEncodingName("UTF-8");

As said in the TODO comments, we should one day implement a WebSettings class
to handle these settings directly from the application (WebBrowser, etc). But
that may not be the more urgent thing to do for the moment and we may land this
class as it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list