X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2FHTMLLabelElement.h;h=8b1278eee1ca15748a95afb990f2f6f6d9b9e6e2;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=2e585d8e7ac6b98d5db7b644f58eff8a395a6be1;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/HTMLLabelElement.h b/src/third_party/WebKit/Source/core/html/HTMLLabelElement.h index 2e585d8..8b1278e 100644 --- a/src/third_party/WebKit/Source/core/html/HTMLLabelElement.h +++ b/src/third_party/WebKit/Source/core/html/HTMLLabelElement.h @@ -27,7 +27,7 @@ #include "core/html/HTMLElement.h" #include "core/html/LabelableElement.h" -namespace WebCore { +namespace blink { class HTMLLabelElement FINAL : public HTMLElement { public: @@ -47,6 +47,10 @@ private: virtual bool isInteractiveContent() const OVERRIDE; virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE; + virtual void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) OVERRIDE; + virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; + virtual void removedFrom(ContainerNode*) OVERRIDE; + // Overridden to update the hover/active state of the corresponding control. virtual void setActive(bool = true) OVERRIDE; virtual void setHovered(bool = true) OVERRIDE; @@ -55,6 +59,8 @@ private: virtual void defaultEventHandler(Event*) OVERRIDE; virtual void focus(bool restorePreviousSelection, FocusType) OVERRIDE; + + void updateLabel(TreeScope&, const AtomicString& oldForAttributeValue, const AtomicString& newForAttributeValue); }; } //namespace