[Webkit-unassigned] [Bug 100633] Text Autosizing: Add Text Autosizing APIs for WK2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 03:33:51 PDT 2012


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





--- Comment #7 from John Mellor <johnme at chromium.org>  2012-10-30 03:35:08 PST ---
(From update of attachment 171168)
View in context: https://bugs.webkit.org/attachment.cgi?id=171168&action=review

Looks fine to me. I'm not a WebKit reviewer though, nor am I familiar with WebKit2, so best to find a reviewer there.

Kenneth, could you suggest a reviewer for this perhaps?

> Source/WebKit2/UIProcess/API/C/WKPreferences.cpp:949
> +#if ENABLE(TEXT_AUTOSIZING)

I can't see any other preferences in this file which are guarded by feature defines. For example WKPreferencesSetWebArchiveDebugModeEnabled isn't guarded, even though setWebArchiveDebugModeEnabled is behind ENABLE(WEB_ARCHIVE) in WebCore/page/Settings.h. Are you sure WebKit2 style isn't to have these preferences always gettable/settable, even if their feature is disabled at compile time? (though I agree that this way makes sense)

> Source/WebKit2/UIProcess/cf/WebPreferencesCF.cpp:96
> +static void setFloatValueIfInUserDefaults(const String& identifier, const String& baseKey, WebPreferencesStore& store)

Are the setFloatValueIfInUserDefaults functions needed because FOR_EACH_WEBKIT_FLOAT_PREFERENCE is no longer empty? If so that seems reasonable.

-- 
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