AccessibilityObjectWPE and AXObjectCacheWPE are just empty implementations
Created attachment 352397 [details] Patch
Comment on attachment 352397 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=352397&action=review > Source/WebCore/accessibility/AXObjectCache.cpp:109 > +#if !(PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(WIN)) Should wrap this into something for less confusion? !(PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(WIN)) Basically this is HAVE_ACCESSIBILITY minus PLATFORM(WPE)?
(In reply to Nan Wang from comment #2) > Comment on attachment 352397 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=352397&action=review > > > Source/WebCore/accessibility/AXObjectCache.cpp:109 > > +#if !(PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(WIN)) > > Should wrap this into something for less confusion? > !(PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(WIN)) > Basically this is HAVE_ACCESSIBILITY minus PLATFORM(WPE)? I was more into having None implementations of things but rniwa wanted it more like this.
Comment on attachment 352397 [details] Patch Clearing flags on attachment: 352397 Committed r237162: <https://trac.webkit.org/changeset/237162>
All reviewed patches have been landed. Closing bug.
<rdar://problem/45291448>
Re-opened since this is blocked by bug 190612
Comment on attachment 352397 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=352397&action=review >>> Source/WebCore/accessibility/AXObjectCache.cpp:109 >>> +#if !(PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(WIN)) >> >> Should wrap this into something for less confusion? >> !(PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(WIN)) >> Basically this is HAVE_ACCESSIBILITY minus PLATFORM(WPE)? > > I was more into having None implementations of things but rniwa wanted it more like this. PLATFORM(IOS) || PLATFORM(MAC) == PLATFORM(COCOA) I also think this looks like a mess. Why not HAVE(ACCESSIBILITY)?
Yeah, let's add HAVE_ACCESSIBILITY or ENABLE_ACCESSIBILITY.
There is already ENABLE_ACCESSIBILITY, so let's use that.