Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebFormElement.h
index 0d01205..3181e82 100644 (file)
@@ -68,7 +68,9 @@ namespace blink {
         // FIXME: Deprecate and replace with WebVector<WebElement>.
         BLINK_EXPORT void getNamedElements(const WebString&, WebVector<WebNode>&);
         BLINK_EXPORT void getFormControlElements(WebVector<WebFormControlElement>&) const;
-        BLINK_EXPORT bool checkValidityWithoutDispatchingEvents();
+
+        // NOTE: This function dispatches "invalid" events. Only call this if required by a specification (e.g. requestAutocomplete()).
+        BLINK_EXPORT bool checkValidity();
 
         enum AutocompleteResult {
             AutocompleteResultSuccess,
@@ -79,9 +81,9 @@ namespace blink {
         BLINK_EXPORT void finishRequestAutocomplete(WebFormElement::AutocompleteResult);
 
 #if BLINK_IMPLEMENTATION
-        WebFormElement(const WTF::PassRefPtr<WebCore::HTMLFormElement>&);
-        WebFormElement& operator=(const WTF::PassRefPtr<WebCore::HTMLFormElement>&);
-        operator WTF::PassRefPtr<WebCore::HTMLFormElement>() const;
+        WebFormElement(const PassRefPtrWillBeRawPtr<WebCore::HTMLFormElement>&);
+        WebFormElement& operator=(const PassRefPtrWillBeRawPtr<WebCore::HTMLFormElement>&);
+        operator PassRefPtrWillBeRawPtr<WebCore::HTMLFormElement>() const;
 #endif
     };