• commit-queue@webkit.org's avatar
    [BlackBerry] Make DefaultTapHighlight use the new WebOverlay API · fc8e979f
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=87604
    
    Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
    Reviewed by Antonio Gomes.
    
    Also add a new method to allow the embedder to use the default tap
    highlight instead of replacing it with a custom one just to keep track
    of the "shouldHideAfterScroll" flag.
    
    PR #160262.
    
    * Api/WebTapHighlight.h:
    * WebKitSupport/DefaultTapHighlight.cpp:
    (BlackBerry::WebKit::DefaultTapHighlight::DefaultTapHighlight):
    (BlackBerry::WebKit::DefaultTapHighlight::draw):
    (BlackBerry::WebKit::DefaultTapHighlight::hide):
    (BlackBerry::WebKit::DefaultTapHighlight::paintContents):
    * WebKitSupport/DefaultTapHighlight.h:
    (BlackBerry::WebKit::DefaultTapHighlight::shouldHideAfterScroll):
    (DefaultTapHighlight):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fc8e979f
DefaultTapHighlight.cpp 4.39 KB