Skip to content
  • commit-queue@webkit.org's avatar
    [BlackBerry] AutofillManager implementation upstream · 811efe31
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=85576
    
    Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-05-08
    Reviewed by Rob Buis.
    
    Source/WebKit:
    
    Added WebKit/blackberry/WebCoreSupport/AutofillManager.cpp
    into building system of BlackBerry porting.
    
    * PlatformBlackBerry.cmake:
    
    Source/WebKit/blackberry:
    
    RIM PR: 136405
    Implemented class AutofillManager to handle the form autofill
    interactions.
    It listens to text changed notification from text input, searches
    autofill database for the suggested autofill candidate value,
    and notifies WebPageClient to pop up a context dialog for user;
    it also responds to user's choice by autofilling the text input.
    
    * WebCoreSupport/AutofillManager.cpp: Added.
    (WebCore):
    (WebCore::AutofillManager::create):
    (WebCore::AutofillManager::didChangeInTextField):
    (WebCore::AutofillManager::autofillTextField):
    (WebCore::AutofillManager::saveTextFields):
    (WebCore::AutofillManager::clear):
    * WebCoreSupport/AutofillManager.h: Added.
    (WTF):
    (WebKit):
    (WebCore):
    (AutofillManager):
    (WebCore::AutofillManager::m_element):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    811efe31