• commit-queue@webkit.org's avatar
    [BlackBerry] WebKit-side implementation of SelectionOverlay · b198650a
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=87605
    
    Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
    Reviewed by Rob Buis.
    
    Source/WebKit:
    
    Add SelectionOverlay to the build system.
    
    PR #160263
    
    * PlatformBlackBerry.cmake:
    
    Source/WebKit/blackberry:
    
    Leverage the new WebOverlay API to move SelectionOverlay to the WebKit
    library, so we always draw selection regardless of which embedder is
    integrating WebKit.
    
    PR #160263
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::init):
    (BlackBerry::WebKit::WebPage::selectionOverlay):
    (WebKit):
    * Api/WebPage.h:
    (WebKit):
    * Api/WebPage_p.h:
    (WebPagePrivate):
    * Api/WebSelectionOverlay.h: Added.
    (WebKit):
    * WebKitSupport/SelectionHandler.cpp:
    (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
    * WebKitSupport/SelectionOverlay.cpp: Added.
    (WebKit):
    (BlackBerry::WebKit::SelectionOverlay::SelectionOverlay):
    (BlackBerry::WebKit::SelectionOverlay::~SelectionOverlay):
    (BlackBerry::WebKit::SelectionOverlay::draw):
    (BlackBerry::WebKit::SelectionOverlay::hide):
    (BlackBerry::WebKit::SelectionOverlay::notifySyncRequired):
    (BlackBerry::WebKit::SelectionOverlay::paintContents):
    * WebKitSupport/SelectionOverlay.h: Added.
    (WebKit):
    (SelectionOverlay):
    (BlackBerry::WebKit::SelectionOverlay::create):
    (BlackBerry::WebKit::SelectionOverlay::notifyAnimationStarted):
    (BlackBerry::WebKit::SelectionOverlay::showDebugBorders):
    (BlackBerry::WebKit::SelectionOverlay::showRepaintCounter):
    (BlackBerry::WebKit::SelectionOverlay::contentsVisible):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b198650a
ChangeLog 193 KB