Changeset 52488 in webkit
- Timestamp:
- Dec 22, 2009 9:33:26 AM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r52380 r52488 1 2009-12-22 Yaar Schnitman <yaar@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 autoComplete and getElementById methods for WebKit API 6 7 https://bugs.webkit.org/show_bug.cgi?id=32866 8 9 * public/WebDocument.h: 10 * public/WebInputElement.h: 11 * src/WebDocument.cpp: 12 (WebKit::WebDocument::getElementById): 13 * src/WebInputElement.cpp: 14 (WebKit::WebInputElement::autoComplete): 15 1 16 2009-12-18 Kenneth Russell <kbr@google.com> 2 17 -
trunk/WebKit/chromium/public/WebDocument.h
r52268 r52488 67 67 WEBKIT_API WebNodeCollection all(); 68 68 WEBKIT_API WebURL completeURL(const WebString&) const; 69 WEBKIT_API WebElement getElementById(const WebString& id) const; 69 70 70 71 #if WEBKIT_IMPLEMENTATION -
trunk/WebKit/chromium/public/WebInputElement.h
r51224 r52488 83 83 }; 84 84 85 WEBKIT_API bool autoComplete() const; 85 86 WEBKIT_API bool isEnabledFormControl() const; 86 87 WEBKIT_API InputType inputType() const; -
trunk/WebKit/chromium/src/WebDocument.cpp
r52268 r52488 102 102 } 103 103 104 WebElement WebDocument::getElementById(const WebString& id) const 105 { 106 return WebElement(constUnwrap<Document>()->getElementById(id)); 107 } 108 104 109 } // namespace WebKit -
trunk/WebKit/chromium/src/WebInputElement.cpp
r51224 r52488 55 55 { 56 56 return PassRefPtr<HTMLInputElement>(static_cast<HTMLInputElement*>(m_private)); 57 } 58 59 bool WebInputElement::autoComplete() const 60 { 61 return constUnwrap<HTMLInputElement>()->autoComplete(); 57 62 } 58 63
Note: See TracChangeset
for help on using the changeset viewer.