Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLLabelElement.h
index 2e585d8..8b1278e 100644 (file)
@@ -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