Changeset 78494 in webkit


Ignore:
Timestamp:
Feb 14, 2011 11:45:46 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-02-14 Jay Soffian <jaysoffian@gmail.com>

Reviewed by Darin Fisher.

Expose checked field of HTMLInputElement to Chromium API
https://bugs.webkit.org/show_bug.cgi?id=54333

  • public/WebInputElement.h:
  • src/WebInputElement.cpp:
Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

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

    r78493 r78494  
     12011-02-14  Jay Soffian  <jaysoffian@gmail.com>
     2
     3        Reviewed by Darin Fisher.
     4
     5        Expose checked field of HTMLInputElement to Chromium API
     6        https://bugs.webkit.org/show_bug.cgi?id=54333
     7
     8        * public/WebInputElement.h:
     9        * src/WebInputElement.cpp:
     10
    1112011-02-14  Tony Chang  <tony@chromium.org>
    212
  • trunk/Source/WebKit/chromium/public/WebInputElement.h

    r78139 r78494  
    7979        WEBKIT_API int selectionEnd() const;
    8080        WEBKIT_API bool isValidValue(const WebString&) const;
     81        WEBKIT_API bool isChecked() const;
    8182
    8283        // Exposes the default value of the maxLength attribute.
  • trunk/Source/WebKit/chromium/src/WebInputElement.cpp

    r78139 r78494  
    156156}
    157157
     158bool WebInputElement::isChecked() const
     159{
     160    return constUnwrap<HTMLInputElement>()->checked();
     161}
     162
    158163int WebInputElement::defaultMaxLength()
    159164{
Note: See TracChangeset for help on using the changeset viewer.