Add simple line layout toggle to MiniBrowser
[WebKit-https.git] / Source / WebKit2 / UIProcess / API / Cocoa / WKPreferences.mm
index 6d058e906fb17ff2489ab915932f5b0548cf4f69..af7b41552082e1042abb9456b0f62cdbf2e348d2 100644 (file)
@@ -285,6 +285,16 @@ static _WKStorageBlockingPolicy toAPI(WebCore::SecurityOrigin::StorageBlockingPo
     _preferences->setVisibleDebugOverlayRegions(regionFlags);
 }
 
     _preferences->setVisibleDebugOverlayRegions(regionFlags);
 }
 
+- (BOOL)_simpleLineLayoutEnabled
+{
+    return _preferences->simpleLineLayoutEnabled();
+}
+
+- (void)_setSimpleLineLayoutEnabled:(BOOL)simpleLineLayoutEnabled
+{
+    _preferences->setSimpleLineLayoutEnabled(simpleLineLayoutEnabled);
+}
+
 - (BOOL)_simpleLineLayoutDebugBordersEnabled
 {
     return _preferences->simpleLineLayoutDebugBordersEnabled();
 - (BOOL)_simpleLineLayoutDebugBordersEnabled
 {
     return _preferences->simpleLineLayoutDebugBordersEnabled();