Changeset 103438 in webkit


Ignore:
Timestamp:
Dec 21, 2011 1:21:41 PM (12 years ago)
Author:
timothy@apple.com
Message:

Web Inspector: suppress incremental rendering and use application chrome mode

https://webkit.org/b/75026

Reviewed by Joseph Pecoraro.

Source/WebKit/mac:

  • WebCoreSupport/WebInspectorClient.mm:

(-[WebInspectorWindowController init]): Sort the preferences, remove the Leopard font family setting,
set suppress incremental rendering and use application chrome mode.

Source/WebKit2:

  • UIProcess/WebInspectorProxy.cpp:

(WebKit::createInspectorPageGroup): Set suppress incremental rendering and use application chrome mode.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r103314 r103438  
     12011-12-21  Timothy Hatcher  <timothy@apple.com>
     2
     3        Web Inspector: suppress incremental rendering and use application chrome mode
     4
     5        https://webkit.org/b/75026
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        * WebCoreSupport/WebInspectorClient.mm:
     10        (-[WebInspectorWindowController init]): Sort the preferences, remove the Leopard font family setting,
     11        set suppress incremental rendering and use application chrome mode.
     12
    1132011-12-20  Pavel Feldman  <pavel.feldman@gmail.com>
    214
  • trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm

    r103314 r103438  
    229229
    230230    WebPreferences *preferences = [[WebPreferences alloc] init];
     231    [preferences setAllowsAnimatedImages:YES];
     232    [preferences setApplicationChromeModeEnabled:YES];
     233    [preferences setAuthorAndUserStylesEnabled:YES];
    231234    [preferences setAutosaves:NO];
     235    [preferences setDefaultFixedFontSize:11];
     236    [preferences setFixedFontFamily:@"Menlo"];
     237    [preferences setJavaEnabled:NO];
     238    [preferences setJavaScriptEnabled:YES];
    232239    [preferences setLoadsImagesAutomatically:YES];
    233     [preferences setAuthorAndUserStylesEnabled:YES];
    234     [preferences setJavaScriptEnabled:YES];
    235     [preferences setAllowsAnimatedImages:YES];
    236     [preferences setPlugInsEnabled:NO];
    237     [preferences setJavaEnabled:NO];
    238     [preferences setUserStyleSheetEnabled:NO];
    239     [preferences setTabsToLinks:NO];
    240240    [preferences setMinimumFontSize:0];
    241241    [preferences setMinimumLogicalFontSize:9];
    242 #ifndef BUILDING_ON_LEOPARD
    243     [preferences setFixedFontFamily:@"Menlo"];
    244     [preferences setDefaultFixedFontSize:11];
    245 #else
    246     [preferences setFixedFontFamily:@"Monaco"];
    247     [preferences setDefaultFixedFontSize:10];
    248 #endif
     242    [preferences setPlugInsEnabled:NO];
     243    [preferences setSuppressIncrementalRendering:YES];
     244    [preferences setTabsToLinks:NO];
     245    [preferences setUserStyleSheetEnabled:NO];
    249246
    250247    _webView = [[WebView alloc] init];
  • trunk/Source/WebKit2/ChangeLog

    r103414 r103438  
     12011-12-21  Timothy Hatcher  <timothy@apple.com>
     2
     3        Web Inspector: suppress incremental rendering and use application chrome mode
     4
     5        https://webkit.org/b/75026
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        * UIProcess/WebInspectorProxy.cpp:
     10        (WebKit::createInspectorPageGroup): Set suppress incremental rendering and use application chrome mode.
     11
    1122011-12-21  Sam Weinig  <sam@webkit.org>
    213
  • trunk/Source/WebKit2/UIProcess/WebInspectorProxy.cpp

    r101661 r103438  
    5454#endif
    5555
     56    pageGroup->preferences()->setApplicationChromeModeEnabled(true);
     57    pageGroup->preferences()->setSuppressIncrementalRendering(true);
     58
    5659    return pageGroup.release();
    5760}
Note: See TracChangeset for help on using the changeset viewer.