Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebInputElement.h
index e9965cf..340f366 100644 (file)
@@ -44,12 +44,6 @@ namespace blink {
     // Provides readonly access to some properties of a DOM input element node.
     class WebInputElement : public WebFormControlElement {
     public:
-        enum SpeechInputState {
-            Idle,
-            Recording,
-            Recognizing,
-        };
-
         WebInputElement() : WebFormControlElement() { }
         WebInputElement(const WebInputElement& element) : WebFormControlElement(element) { }
 
@@ -70,7 +64,6 @@ namespace blink {
         BLINK_EXPORT bool isRadioButton() const;
         BLINK_EXPORT bool isCheckbox() const;
         BLINK_EXPORT int maxLength() const;
-        BLINK_EXPORT bool isActivatedSubmit() const;
         BLINK_EXPORT void setActivatedSubmit(bool);
         BLINK_EXPORT int size() const;
         BLINK_EXPORT void setChecked(bool, bool sendEvents = false);
@@ -87,11 +80,6 @@ namespace blink {
         // Return the localized value for this input type.
         BLINK_EXPORT WebString localizeValue(const WebString&) const;
 
-        BLINK_EXPORT bool isSpeechInputEnabled() const;
-        BLINK_EXPORT SpeechInputState getSpeechInputState() const;
-        BLINK_EXPORT void startSpeechInput();
-        BLINK_EXPORT void stopSpeechInput();
-
         // Exposes the default value of the maxLength attribute.
         BLINK_EXPORT static int defaultMaxLength();
 
@@ -102,9 +90,9 @@ namespace blink {
         BLINK_EXPORT void setShouldRevealPassword(bool value);
 
 #if BLINK_IMPLEMENTATION
-        WebInputElement(const WTF::PassRefPtr<WebCore::HTMLInputElement>&);
-        WebInputElement& operator=(const WTF::PassRefPtr<WebCore::HTMLInputElement>&);
-        operator WTF::PassRefPtr<WebCore::HTMLInputElement>() const;
+        WebInputElement(const PassRefPtrWillBeRawPtr<WebCore::HTMLInputElement>&);
+        WebInputElement& operator=(const PassRefPtrWillBeRawPtr<WebCore::HTMLInputElement>&);
+        operator PassRefPtrWillBeRawPtr<WebCore::HTMLInputElement>() const;
 #endif
     };