This moves GTK-specific classes into GTK-specific directories. It also exposes WKTextCheckerSetContinuousSpellCheckingEnabled and uses it in UIScriptControllerGtk, which is needed for bug #181916. This code is pretty messy, but now it's a *platform-specific* mess, which is a small improvement.
Ah drat, I thought it was entirely GTK-specific, but I missed WKTextCheckerSetTestingMode, which is really cross-platform. Need to change a few things.
Created attachment 422406 [details] Patch
Comment on attachment 422406 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422406&action=review > Source/WebKit/UIProcess/API/C/WKTextChecker.h:26 > > -#ifndef WKTextChecker_h > -#define WKTextChecker_h > +#pragma once Any public C API header should have the #ifndef guards. > Source/WebKit/UIProcess/API/C/gtk/WKTextCheckerGtk.h:26 > -#ifndef WKTextCheckerGtk_h > -#define WKTextCheckerGtk_h > +#pragma once Should be #ifndef guards
Created attachment 422425 [details] Patch for landing
Committed r274011: <https://commits.webkit.org/r274011> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422425 [details].