Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / editing / WrapContentsInDummySpanCommand.h
index 52518f6..1bb9928 100644 (file)
 
 #include "core/editing/EditCommand.h"
 
-namespace WebCore {
+namespace blink {
 
-class HTMLElement;
+class HTMLSpanElement;
 
-class WrapContentsInDummySpanCommand FINAL : public SimpleEditCommand {
+class WrapContentsInDummySpanCommand final : public SimpleEditCommand {
 public:
     static PassRefPtrWillBeRawPtr<WrapContentsInDummySpanCommand> create(PassRefPtrWillBeRawPtr<Element> element)
     {
         return adoptRefWillBeNoop(new WrapContentsInDummySpanCommand(element));
     }
 
-    virtual void trace(Visitor*) OVERRIDE;
+    virtual void trace(Visitor*) override;
 
 private:
     explicit WrapContentsInDummySpanCommand(PassRefPtrWillBeRawPtr<Element>);
 
-    virtual void doApply() OVERRIDE;
-    virtual void doUnapply() OVERRIDE;
-    virtual void doReapply() OVERRIDE;
+    virtual void doApply() override;
+    virtual void doUnapply() override;
+    virtual void doReapply() override;
     void executeApply();
 
     RefPtrWillBeMember<Element> m_element;
-    RefPtrWillBeMember<HTMLElement> m_dummySpan;
+    RefPtrWillBeMember<HTMLSpanElement> m_dummySpan;
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // WrapContentsInDummySpanCommand_h