Changeset 116259 in webkit


Ignore:
Timestamp:
May 6, 2012 7:10:27 PM (12 years ago)
Author:
keishi@webkit.org
Message:

[chromium] Add WebKit API to access multiple attribute of input element
https://bugs.webkit.org/show_bug.cgi?id=85355

Reviewed by Kent Tamura.

We need this to implement the datalist UI for <input type=email multiple>.

  • public/WebInputElement.h:

(WebInputElement):

  • src/WebInputElement.cpp:

(WebKit::WebInputElement::isMultiple):
(WebKit):

Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r116254 r116259  
     12012-05-06  Keishi Hattori  <keishi@webkit.org>
     2
     3        [chromium] Add WebKit API to access multiple attribute of input element
     4        https://bugs.webkit.org/show_bug.cgi?id=85355
     5
     6        Reviewed by Kent Tamura.
     7
     8        We need this to implement the datalist UI for <input type=email multiple>.
     9
     10        * public/WebInputElement.h:
     11        (WebInputElement):
     12        * src/WebInputElement.cpp:
     13        (WebKit::WebInputElement::isMultiple):
     14        (WebKit):
     15
    1162012-05-06  Adam Barth  <abarth@webkit.org>
    217
  • trunk/Source/WebKit/chromium/public/WebInputElement.h

    r114108 r116259  
    8686        WEBKIT_EXPORT bool isValidValue(const WebString&) const;
    8787        WEBKIT_EXPORT bool isChecked() const;
     88        WEBKIT_EXPORT bool isMultiple() const;
    8889
    8990        WEBKIT_EXPORT WebNodeCollection dataListOptions() const;
  • trunk/Source/WebKit/chromium/src/WebInputElement.cpp

    r114545 r116259  
    154154}
    155155
     156bool WebInputElement::isMultiple() const
     157{
     158    return constUnwrap<HTMLInputElement>()->multiple();
     159}
     160
    156161WebNodeCollection WebInputElement::dataListOptions() const
    157162{
Note: See TracChangeset for help on using the changeset viewer.