X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2FHTMLAnchorElement.h;h=d7215b9e729dca0973a0b6cca057996475cf4f44;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=3f0b3f2d556688648b321ab18d7b71a2dcba8cda;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/HTMLAnchorElement.h b/src/third_party/WebKit/Source/core/html/HTMLAnchorElement.h index 3f0b3f2..d7215b9 100644 --- a/src/third_party/WebKit/Source/core/html/HTMLAnchorElement.h +++ b/src/third_party/WebKit/Source/core/html/HTMLAnchorElement.h @@ -56,8 +56,7 @@ enum { class HTMLAnchorElement : public HTMLElement, public DOMURLUtils { public: - static PassRefPtr create(Document&); - static PassRefPtr create(const QualifiedName&, Document&); + static PassRefPtrWillBeRawPtr create(Document&); virtual ~HTMLAnchorElement(); @@ -72,8 +71,6 @@ public: virtual String input() const OVERRIDE FINAL; virtual void setInput(const String&) OVERRIDE FINAL; - String text(); - bool isLiveLink() const; virtual bool willRespondToMouseClickEvents() OVERRIDE FINAL; @@ -88,9 +85,9 @@ protected: HTMLAnchorElement(const QualifiedName&, Document&); virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; + virtual bool supportsFocus() const OVERRIDE; private: - virtual bool supportsFocus() const OVERRIDE; virtual bool isMouseFocusable() const OVERRIDE; virtual bool isKeyboardFocusable() const OVERRIDE; virtual void defaultEventHandler(Event*) OVERRIDE FINAL; @@ -107,24 +104,10 @@ private: AtomicString target() const; void handleClick(Event*); - enum EventType { - MouseEventWithoutShiftKey, - MouseEventWithShiftKey, - NonMouseEvent, - }; - static EventType eventType(Event*); - bool treatLinkAsLiveForEventType(EventType) const; - - Element* rootEditableElementForSelectionOnMouseDown() const; - void setRootEditableElementForSelectionOnMouseDown(Element*); - void clearRootEditableElementForSelectionOnMouseDown(); - class PrefetchEventHandler; PrefetchEventHandler* prefetchEventHandler(); - bool m_hasRootEditableElementForSelectionOnMouseDown : 1; - bool m_wasShiftKeyDownOnMouseDown : 1; - uint32_t m_linkRelations : 30; + uint32_t m_linkRelations; OwnPtr m_prefetchEventHandler; mutable LinkHash m_cachedVisitedLinkHash; };