Skip to content
  • commit-queue@webkit.org's avatar
    [BlackBerry] Implement select popup and remove old hook to air popup · 7cccfb29
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=87419
    
    Patch by Crystal Zhang <haizhang@rim.com> on 2012-05-24
    Reviewed by Rob Buis.
    
    Source/WebCore:
    
    Add new files to make file, add css file for select popup.
    
    * PlatformBlackBerry.cmake:
    * Resources/blackberry/popupControlBlackBerry.css: Added.
    (html):
    (body):
    (.bottombuttonOK):
    (.bottombuttonCancel):
    (.tablebutton):
    
    Source/WebKit:
    
    Add new files to make file.
    
    * PlatformBlackBerry.cmake:
    
    Source/WebKit/blackberry:
    
    Introduce new html select popup client, remove the old hook to air popup.
    
    * Api/WebPageClient.h:
    * WebCoreSupport/SelectPopupClient.cpp: Added.
    (WebCore):
    (WebCore::SelectPopupClient::SelectPopupClient):
    (WebCore::SelectPopupClient::~SelectPopupClient):
    (WebCore::SelectPopupClient::update):
    (WebCore::SelectPopupClient::generateHTML):
    (WebCore::SelectPopupClient::closePopup):
    (WebCore::SelectPopupClient::contentSize):
    (WebCore::SelectPopupClient::htmlSource):
    (WebCore::SelectPopupClient::setValueAndClosePopup):
    (WebCore::SelectPopupClient::didClosePopup):
    (WebCore::SelectPopupClient::writeDocument):
    * WebCoreSupport/SelectPopupClient.h: Added.
    (WebKit):
    (WebCore):
    (SelectPopupClient):
    * WebKitSupport/InputHandler.cpp:
    (BlackBerry::WebKit::InputHandler::openSelectPopup):
    * WebKitSupport/InputHandler.h:
    (WebCore):
    (InputHandler):
    * WebKitSupport/WebPopupType.h: Added.
    (BlackBerry):
    (WebKit):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7cccfb29