Skip to content
  • keishi@webkit.org's avatar
    Add datalist suggestions into DateTimeChooserParameters · f6bf1021
    keishi@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=97292
    
    Reviewed by Kent Tamura.
    
    Source/WebCore:
    
    We read datalist suggestions, add them to DateTimeChooserParameters,
    and pass them to the page popup.
    
    No new tests. No behavior change yet.
    
    * html/shadow/CalendarPickerElement.cpp:
    (WebCore::CalendarPickerElement::openPopup): Read datalist suggestions and add them to DateTimeChooserParameters
    * platform/DateTimeChooser.h:
    (DateTimeChooserParameters): Added localizedSuggestionValues so we can show localized values inside the page popup.
    
    Source/WebKit/chromium:
    
    * src/DateTimeChooserImpl.cpp:
    (WebKit::DateTimeChooserImpl::writeDocument): Add the necessary parameters for SuggestionPicker.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f6bf1021