Changeset 161367 in webkit


Ignore:
Timestamp:
Jan 6, 2014 1:30:27 PM (10 years ago)
Author:
Simon Fraser
Message:

Rename DrawingArea::supportsThreadedScrolling() to supportsAsyncScrolling()
https://bugs.webkit.org/show_bug.cgi?id=126529

Reviewed by Tim Horton.

Change function name from using "threaded" to "async" terminology.

  • WebProcess/WebPage/DrawingArea.h:

(WebKit::DrawingArea::supportsAsyncScrolling):

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage):

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
Location:
trunk/Source/WebKit2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r161366 r161367  
     12014-01-06  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Rename DrawingArea::supportsThreadedScrolling() to supportsAsyncScrolling()
     4        https://bugs.webkit.org/show_bug.cgi?id=126529
     5
     6        Reviewed by Tim Horton.
     7       
     8        Change function name from using "threaded" to "async" terminology.
     9
     10        * WebProcess/WebPage/DrawingArea.h:
     11        (WebKit::DrawingArea::supportsAsyncScrolling):
     12        * WebProcess/WebPage/WebPage.cpp:
     13        (WebKit::WebPage::WebPage):
     14        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
     15
    1162014-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
    217
  • trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.h

    r161357 r161367  
    9191    virtual void mainFrameScrollabilityChanged(bool) { }
    9292
    93     virtual bool supportsThreadedScrolling() { return false; }
     93    virtual bool supportsAsyncScrolling() { return false; }
    9494
    9595    virtual void didChangeScrollOffsetForAnyFrame() { }
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r161357 r161367  
    318318#if ENABLE(ASYNC_SCROLLING)
    319319    m_useAsyncScrolling = parameters.store.getBoolValueForKey(WebPreferencesKey::threadedScrollingEnabledKey());
    320     if (!m_drawingArea->supportsThreadedScrolling())
     320    if (!m_drawingArea->supportsAsyncScrolling())
    321321        m_useAsyncScrolling = false;
    322322    m_page->settings().setScrollingCoordinatorEnabled(m_useAsyncScrolling);
  • trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h

    r161357 r161367  
    8080    virtual void setExposedRect(const WebCore::FloatRect&) OVERRIDE;
    8181    virtual void setClipsToExposedRect(bool) OVERRIDE;
    82     virtual bool supportsThreadedScrolling() OVERRIDE { return true; }
     82    virtual bool supportsAsyncScrolling() OVERRIDE { return true; }
    8383
    8484    virtual void didChangeScrollOffsetForAnyFrame() OVERRIDE;
Note: See TracChangeset for help on using the changeset viewer.