• antti@apple.com's avatar
    Add debug settings for simple line layout · 2ec05012
    antti@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123514
    
    Source/WebCore: 
    
    Reviewed by Andreas Kling.
    
    * WebCore.exp.in:
    * page/Settings.in:
            
        Add simpleLineLayoutEnabled and simpleLineLayoutDebugBordersEnabled.
    
    * rendering/SimpleLineLayout.cpp:
    (WebCore::SimpleLineLayout::canUseFor):
    * rendering/SimpleLineLayoutFunctions.cpp:
    (WebCore::SimpleLineLayout::paintDebugBorders):
    (WebCore::SimpleLineLayout::paintFlow):
    
    Source/WebKit2: 
    
    Reviewed by Andreas Kling.
            
    Expose debug settings.
    
    * Shared/WebPreferencesStore.h:
    * UIProcess/API/C/WKPreferences.cpp:
    (WKPreferencesSetSimpleLineLayoutEnabled):
    (WKPreferencesGetSimpleLineLayoutEnabled):
    (WKPreferencesSetSimpleLineLayoutDebugBordersEnabled):
    (WKPreferencesGetSimpleLineLayoutDebugBordersEnabled):
    * UIProcess/API/C/WKPreferencesPrivate.h:
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::updatePreferences):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2ec05012
SimpleLineLayoutFunctions.cpp 5.6 KB