Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLElement.h
index e28af44..9b3f37a 100644 (file)
@@ -40,18 +40,15 @@ enum TranslateAttributeMode {
 
 class HTMLElement : public Element {
 public:
-    static PassRefPtr<HTMLElement> create(const QualifiedName& tagName, Document&);
+    static PassRefPtrWillBeRawPtr<HTMLElement> create(const QualifiedName& tagName, Document&);
 
     virtual String title() const OVERRIDE FINAL;
-
     virtual short tabIndex() const OVERRIDE;
-    void setTabIndex(int);
 
     void setInnerText(const String&, ExceptionState&);
     void setOuterText(const String&, ExceptionState&);
 
     virtual bool hasCustomFocusLogic() const;
-    virtual bool supportsFocus() const OVERRIDE;
 
     String contentEditable() const;
     void setContentEditable(const String&, ExceptionState&);
@@ -65,6 +62,9 @@ public:
     bool translate() const;
     void setTranslate(bool);
 
+    const AtomicString& dir();
+    void setDir(const AtomicString&);
+
     void click();
 
     virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE;
@@ -123,7 +123,6 @@ private:
     TranslateAttributeMode translateAttributeMode() const;
 
     void handleKeypressEvent(KeyboardEvent*);
-    bool supportsSpatialNavigationFocus() const;
 };
 
 DEFINE_ELEMENT_TYPE_CASTS(HTMLElement, isHTMLElement());