RESOLVED FIXED 173249
[GTK] Move WebKit GType macros to WTF
https://bugs.webkit.org/show_bug.cgi?id=173249
Summary [GTK] Move WebKit GType macros to WTF
Carlos Garcia Campos
Reported 2017-06-12 01:58:17 PDT
Moving to a shared place where they could be shared by all ports using a glib-based API. Moved to WTF instead of platform/PAL because they will also be used by JavaScriptCore glib bindings.
Attachments
Patch (9.69 KB, patch)
2017-06-12 02:01 PDT, Carlos Garcia Campos
zan: review+
Carlos Garcia Campos
Comment 1 2017-06-12 02:01:42 PDT
Build Bot
Comment 2 2017-06-12 02:04:43 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Build Bot
Comment 3 2017-06-12 02:04:50 PDT
Attachment 312642 [details] did not pass style-queue: ERROR: Source/WTF/wtf/glib/WebKitGType.h:74: g_define_type_id__volatile is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] ERROR: Source/WTF/wtf/glib/WebKitGType.h:76: g_define_type_id is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 2 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Zan Dobersek
Comment 4 2017-06-12 04:55:22 PDT
Comment on attachment 312642 [details] Patch It looks OK. WEBKIT prefixes seem a bit strange for code that's located in WTF though.
Carlos Garcia Campos
Comment 5 2017-06-12 05:03:10 PDT
(In reply to Zan Dobersek from comment #4) > Comment on attachment 312642 [details] > Patch > > It looks OK. WEBKIT prefixes seem a bit strange for code that's located in > WTF though. Yes, they are currently helpers for glib based APIs that use WebKit prefix. They can be renamed to use WTF prefix once the JSC glib bindings are added, since we will not use WebKit prefix there.
Carlos Garcia Campos
Comment 6 2017-06-12 05:50:50 PDT
Note You need to log in before you can comment on or make changes to this bug.