[Webkit-unassigned] [Bug 55308] [GTK] General mechanism for adjusting WebKitWebSettings in GtkLauncher.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 6 05:55:49 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=55308
Lukasz Slachciak <l.slachciak at samsung.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #83953|0 |1
is obsolete| |
Attachment #84887| |review?
Flag| |
--- Comment #5 from Lukasz Slachciak <l.slachciak at samsung.com> 2011-03-06 05:55:49 PST ---
Created an attachment (id=84887)
--> (https://bugs.webkit.org/attachment.cgi?id=84887&action=review)
[GTK] General mechanism for adjusting WebKitWebSettings in GtkLauncher
Following Martin's comments I created general mechanism for parsing WebKitWebSettings options.
It fills available GtkLauncher --help-websettings options with WebKitWebSettings group.
All writable string/int/boolean properties will be listed there.
User can pass by commandline any combination of them:
e.g.:
--enable-frame-flattening=1 --minimum-font-size=30 http://xahlee.org/js/frame/0.html
--user-agent="SomeStrangeUA" http://www.useragentstring.com --enable-spatial-navigation=1 --minimum-font-size=20
Due to the future extensibility I decided to use G_OPTION_ARG_CALLBACK as option entry arg field. Thanks to callback function we can extend parsing mechanism for float and others types.
--
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