Bug 136102

Summary: [GTK] Add the Wayland protocol extension
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, commit-queue, gyuyoung.kim, mrobinson, rakuco, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 115803    
Attachments:
Description Flags
Patch
none
Patch mrobinson: review+, mrobinson: commit-queue-

Description Zan Dobersek 2014-08-20 07:28:30 PDT
[GTK] Add the Wayland protocol extension
Comment 1 Zan Dobersek 2014-08-20 07:46:36 PDT
Created attachment 236870 [details]
Patch
Comment 2 Martin Robinson 2014-08-20 08:45:06 PDT
Comment on attachment 236870 [details]
Patch

I think wl-wkgtk.xml should probably have a name that reflects what we typically do with C++ source files, descriptive and using non-abbreviated words when possible. Why not WebKitGtkWaylandClientProtocol.xml producing WebKitGtkWaylandClientProtocol.c (notice the flipped words from the existing name).
Comment 3 Zan Dobersek 2014-08-20 08:56:19 PDT
Yeah, that works better.
Comment 4 Zan Dobersek 2014-08-20 09:06:24 PDT
Created attachment 236872 [details]
Patch
Comment 5 Martin Robinson 2014-08-20 09:15:50 PDT
Comment on attachment 236872 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=236872&action=review

Thanks! Please do one more rename before landing.

> Source/WebCore/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml:2
> +<protocol name="wl_wkgtk">

Probably should rename this to wl_webkitgtk as well.

> Source/WebCore/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml:29
> +  <interface name="wl_wkgtk" version="1">

Ditto.
Comment 6 Zan Dobersek 2014-08-22 01:20:38 PDT
Committed r172856: <http://trac.webkit.org/changeset/172856>