Changeset 56837 in webkit


Ignore:
Timestamp:
Mar 31, 2010 6:27:46 AM (14 years ago)
Author:
antti.j.koivisto@nokia.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=36446
[Qt] QWebSettings::TiledBackingStoreEnabled attribute lacks documentation and default value

Reviewed by Kenneth Rohde Christiansen.

  • Api/qgraphicswebview.cpp:
  • Api/qwebsettings.cpp:

(QWebSettings::QWebSettings):

Location:
trunk/WebKit/qt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qgraphicswebview.cpp

    r56581 r56837  
    11061106    If this property is set, the QGraphicsWebView will automatically change its
    11071107    size to match the size of the main frame contents. As a result the top level frame
    1108     will never have scrollbars.
     1108    will never have scrollbars. It will also make CSS fixed positioning to behave like absolute positioning
     1109    with elements positioned relative to the document instead of the viewport.
    11091110
    11101111    This property should be used in conjunction with the QWebPage::preferredContentsSize property.
  • trunk/WebKit/qt/Api/qwebsettings.cpp

    r56718 r56837  
    407407        opacity properties will be rendered by composing the cached content of the animated elements.
    408408        This feature is enabled by default
     409    \value TiledBackingStoreEnabled This setting enables the tiled backing store feature
     410        for a QGraphicsWebView. With the tiled backing store enabled, the web page contents in and around
     411        the current visible area is speculatively cached to bitmap tiles. The tiles are automatically kept
     412        in sync with the web page as it changes. Enabling tiling can significantly speed up painting heavy
     413        operations like scrolling. Enabling the feature increases memory consumption. It does not work well
     414        with contents using CSS fixed positioning (see also \l{QGraphicsWebView::}{resizesToContents} property).
     415        \l{QGraphicsWebView::}{tiledBackingStoreFrozen} property allows application to temporarily freeze the contents of the backing store.
    409416    \value FrameFlatteningEnabled With this setting each subframe is expanded to its contents.
    410417        On touch devices, it is desired to not have any scrollable sub parts of the page
     
    447454    d->attributes.insert(QWebSettings::AcceleratedCompositingEnabled, true);
    448455    d->attributes.insert(QWebSettings::WebGLEnabled, false);
     456    d->attributes.insert(QWebSettings::TiledBackingStoreEnabled, false);
    449457    d->attributes.insert(QWebSettings::FrameFlatteningEnabled, false);
    450458    d->offlineStorageDefaultQuota = 5 * 1024 * 1024;
  • trunk/WebKit/qt/ChangeLog

    r56825 r56837  
     12010-03-31  Antti Koivisto  <koivisto@iki.fi>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=36446
     6        [Qt] QWebSettings::TiledBackingStoreEnabled attribute lacks documentation and default value
     7
     8        * Api/qgraphicswebview.cpp:
     9        * Api/qwebsettings.cpp:
     10        (QWebSettings::QWebSettings):
     11
    1122010-03-30  Gavin Barraclough  <barraclough@apple.com>
    213
Note: See TracChangeset for help on using the changeset viewer.