Diff
Modified: trunk/Source/WebCore/ChangeLog (203263 => 203264)
--- trunk/Source/WebCore/ChangeLog 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/ChangeLog 2016-07-15 02:17:24 UTC (rev 203264)
@@ -1,3 +1,68 @@
+2016-07-14 Rawinder Singh <[email protected]>
+
+ Update HTML*Element class override methods in final classes
+ https://bugs.webkit.org/show_bug.cgi?id=159456
+
+ Reviewed by Youenn Fablet.
+
+ Update HTML*Element classes so that overriden methods in final classes are marked final.
+ Also marked HTMLDivElement overriden methods as final since they are not overridden by derived classes.
+
+ * html/HTMLAppletElement.h:
+ * html/HTMLAreaElement.h:
+ * html/HTMLAttachmentElement.h:
+ * html/HTMLAudioElement.h:
+ * html/HTMLBRElement.h:
+ * html/HTMLBaseElement.h:
+ * html/HTMLBodyElement.h:
+ * html/HTMLButtonElement.h:
+ * html/HTMLCanvasElement.h:
+ * html/HTMLDataElement.h:
+ * html/HTMLDetailsElement.h:
+ * html/HTMLDivElement.h:
+ * html/HTMLEmbedElement.h:
+ * html/HTMLFieldSetElement.h:
+ * html/HTMLFontElement.h:
+ * html/HTMLFormElement.h:
+ * html/HTMLFrameSetElement.h:
+ * html/HTMLHRElement.h:
+ * html/HTMLHtmlElement.h:
+ * html/HTMLKeygenElement.h:
+ * html/HTMLLIElement.h:
+ * html/HTMLLabelElement.h:
+ * html/HTMLLegendElement.h:
+ * html/HTMLLinkElement.h:
+ * html/HTMLMapElement.h:
+ * html/HTMLMarqueeElement.h:
+ * html/HTMLMetaElement.h:
+ * html/HTMLMeterElement.h:
+ * html/HTMLModElement.h:
+ * html/HTMLOListElement.h:
+ * html/HTMLObjectElement.h:
+ * html/HTMLOptGroupElement.h:
+ * html/HTMLOptionElement.h:
+ * html/HTMLOutputElement.h:
+ * html/HTMLParagraphElement.h:
+ * html/HTMLParamElement.h:
+ * html/HTMLPreElement.h:
+ * html/HTMLProgressElement.h:
+ * html/HTMLQuoteElement.h:
+ * html/HTMLScriptElement.h:
+ * html/HTMLSourceElement.h:
+ * html/HTMLStyleElement.h:
+ * html/HTMLSummaryElement.h:
+ * html/HTMLTableCaptionElement.h:
+ * html/HTMLTableColElement.h:
+ * html/HTMLTableElement.h:
+ * html/HTMLTableSectionElement.h:
+ * html/HTMLTemplateElement.h:
+ * html/HTMLTextAreaElement.h:
+ * html/HTMLTitleElement.h:
+ * html/HTMLUListElement.h:
+ * html/HTMLUnknownElement.h:
+ * html/HTMLVideoElement.h:
+ * html/HTMLWBRElement.h:
+
2016-07-14 Chris Dumez <[email protected]>
Modernize GlyphMetricsMap
Modified: trunk/Source/WebCore/html/HTMLAppletElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLAppletElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLAppletElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -34,13 +34,13 @@
private:
HTMLAppletElement(const QualifiedName&, Document&, bool createdByParser);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- bool rendererIsNeeded(const RenderStyle&) override;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ bool rendererIsNeeded(const RenderStyle&) final;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
- RenderWidget* renderWidgetLoadingPlugin() const override;
- void updateWidget(PluginCreationOption) override;
+ RenderWidget* renderWidgetLoadingPlugin() const final;
+ void updateWidget(PluginCreationOption) final;
bool canEmbedJava() const;
};
Modified: trunk/Source/WebCore/html/HTMLAreaElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLAreaElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLAreaElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -52,14 +52,14 @@
private:
HTMLAreaElement(const QualifiedName&, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool supportsFocus() const override;
- String target() const override;
- bool isKeyboardFocusable(KeyboardEvent*) const override;
- bool isMouseFocusable() const override;
- bool isFocusable() const override;
- void updateFocusAppearance(SelectionRestorationMode, SelectionRevealMode) override;
- void setFocus(bool) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool supportsFocus() const final;
+ String target() const final;
+ bool isKeyboardFocusable(KeyboardEvent*) const final;
+ bool isMouseFocusable() const final;
+ bool isFocusable() const final;
+ void updateFocusAppearance(SelectionRestorationMode, SelectionRevealMode) final;
+ void setFocus(bool) final;
enum Shape { Default, Poly, Rect, Circle, Unknown };
Path getRegion(const LayoutSize&) const;
Modified: trunk/Source/WebCore/html/HTMLAttachmentElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLAttachmentElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLAttachmentElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -50,9 +50,9 @@
HTMLAttachmentElement(const QualifiedName&, Document&);
virtual ~HTMLAttachmentElement();
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
- bool shouldSelectOnMouseDown() override {
+ bool shouldSelectOnMouseDown() final {
#if PLATFORM(IOS)
return false;
#else
@@ -59,8 +59,8 @@
return true;
#endif
}
- bool canContainRangeEndPoint() const override { return false; }
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ bool canContainRangeEndPoint() const final { return false; }
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
RefPtr<File> m_file;
};
Modified: trunk/Source/WebCore/html/HTMLAudioElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLAudioElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLAudioElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -42,7 +42,7 @@
private:
HTMLAudioElement(const QualifiedName&, Document&, bool);
- PlatformMediaSession::MediaType presentationType() const override { return PlatformMediaSession::Audio; }
+ PlatformMediaSession::MediaType presentationType() const final { return PlatformMediaSession::Audio; }
};
} // namespace WebCore
Modified: trunk/Source/WebCore/html/HTMLBRElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLBRElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLBRElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -33,15 +33,15 @@
static Ref<HTMLBRElement> create(Document&);
static Ref<HTMLBRElement> create(const QualifiedName&, Document&);
- bool canContainRangeEndPoint() const override { return false; }
+ bool canContainRangeEndPoint() const final { return false; }
private:
HTMLBRElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
};
} // namespace
Modified: trunk/Source/WebCore/html/HTMLBaseElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLBaseElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLBaseElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -37,11 +37,11 @@
private:
HTMLBaseElement(const QualifiedName&, Document&);
- String target() const override;
- bool isURLAttribute(const Attribute&) const override;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
+ String target() const final;
+ bool isURLAttribute(const Attribute&) const final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
};
} // namespace
Modified: trunk/Source/WebCore/html/HTMLBodyElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLBodyElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLBodyElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -41,26 +41,26 @@
bool isFirstBodyElementOfDocument() const;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
- bool isURLAttribute(const Attribute&) const override;
+ bool isURLAttribute(const Attribute&) const final;
- bool supportsFocus() const override;
+ bool supportsFocus() const final;
- int scrollLeft() override;
- void setScrollLeft(int) override;
+ int scrollLeft() final;
+ void setScrollLeft(int) final;
- int scrollTop() override;
- void setScrollTop(int) override;
+ int scrollTop() final;
+ void setScrollTop(int) final;
- int scrollHeight() override;
- int scrollWidth() override;
+ int scrollHeight() final;
+ int scrollWidth() final;
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
static EventHandlerNameMap createWindowEventHandlerNameMap();
};
Modified: trunk/Source/WebCore/html/HTMLButtonElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLButtonElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLButtonElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -37,7 +37,7 @@
const AtomicString& value() const;
- bool willRespondToMouseClickEvents() override;
+ bool willRespondToMouseClickEvents() final;
RenderButton* renderer() const;
@@ -46,34 +46,34 @@
enum Type { SUBMIT, RESET, BUTTON };
- const AtomicString& formControlType() const override;
+ const AtomicString& formControlType() const final;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
// HTMLFormControlElement always creates one, but buttons don't need it.
- bool alwaysCreateUserAgentShadowRoot() const override { return false; }
+ bool alwaysCreateUserAgentShadowRoot() const final { return false; }
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void defaultEventHandler(Event*) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void defaultEventHandler(Event*) final;
- bool appendFormData(FormDataList&, bool) override;
+ bool appendFormData(FormDataList&, bool) final;
- bool isEnumeratable() const override { return true; }
- bool supportLabels() const override { return true; }
+ bool isEnumeratable() const final { return true; }
+ bool supportLabels() const final { return true; }
- bool isSuccessfulSubmitButton() const override;
- bool matchesDefaultPseudoClass() const override;
- bool isActivatedSubmit() const override;
- void setActivatedSubmit(bool flag) override;
+ bool isSuccessfulSubmitButton() const final;
+ bool matchesDefaultPseudoClass() const final;
+ bool isActivatedSubmit() const final;
+ void setActivatedSubmit(bool flag) final;
- void accessKeyAction(bool sendMouseEvents) override;
- bool isURLAttribute(const Attribute&) const override;
+ void accessKeyAction(bool sendMouseEvents) final;
+ bool isURLAttribute(const Attribute&) const final;
- bool canStartSelection() const override { return false; }
+ bool canStartSelection() const final { return false; }
- bool isOptionalFormControl() const override { return true; }
- bool computeWillValidate() const override;
+ bool isOptionalFormControl() const final { return true; }
+ bool computeWillValidate() const final;
Type m_type;
bool m_isActivatedSubmit;
Modified: trunk/Source/WebCore/html/HTMLCanvasElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLCanvasElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -141,11 +141,11 @@
private:
HTMLCanvasElement(const QualifiedName&, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
- bool canContainRangeEndPoint() const override;
- bool canStartSelection() const override;
+ bool canContainRangeEndPoint() const final;
+ bool canStartSelection() const final;
void reset();
Modified: trunk/Source/WebCore/html/HTMLDataElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLDataElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLDataElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -30,7 +30,7 @@
namespace WebCore {
-class HTMLDataElement : public HTMLElement {
+class HTMLDataElement final : public HTMLElement {
public:
static Ref<HTMLDataElement> create(const QualifiedName&, Document&);
Modified: trunk/Source/WebCore/html/HTMLDetailsElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLDetailsElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLDetailsElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -38,10 +38,10 @@
private:
HTMLDetailsElement(const QualifiedName&, Document&);
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- void didAddUserAgentShadowRoot(ShadowRoot*) override;
+ void didAddUserAgentShadowRoot(ShadowRoot*) final;
bool hasCustomFocusLogic() const final { return true; }
bool m_isOpen { false };
Modified: trunk/Source/WebCore/html/HTMLDivElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLDivElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLDivElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -36,8 +36,8 @@
HTMLDivElement(const QualifiedName&, Document&);
private:
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
} // namespace WebCore
Modified: trunk/Source/WebCore/html/HTMLEmbedElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLEmbedElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLEmbedElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -34,20 +34,20 @@
private:
HTMLEmbedElement(const QualifiedName&, Document&, bool createdByParser);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- bool rendererIsNeeded(const RenderStyle&) override;
+ bool rendererIsNeeded(const RenderStyle&) final;
- bool isURLAttribute(const Attribute&) const override;
- const AtomicString& imageSourceURL() const override;
+ bool isURLAttribute(const Attribute&) const final;
+ const AtomicString& imageSourceURL() const final;
- RenderWidget* renderWidgetLoadingPlugin() const override;
+ RenderWidget* renderWidgetLoadingPlugin() const final;
- void updateWidget(PluginCreationOption) override;
+ void updateWidget(PluginCreationOption) final;
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramValues);
};
Modified: trunk/Source/WebCore/html/HTMLFieldSetElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLFieldSetElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLFieldSetElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -53,18 +53,18 @@
HTMLFieldSetElement(const QualifiedName&, Document&, HTMLFormElement*);
~HTMLFieldSetElement();
- bool isEnumeratable() const override { return true; }
- bool supportsFocus() const override;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
- const AtomicString& formControlType() const override;
- bool computeWillValidate() const override { return false; }
- void disabledAttributeChanged() override;
- void disabledStateChanged() override;
- void childrenChanged(const ChildChange&) override;
- void didMoveToNewDocument(Document* oldDocument) override;
+ bool isEnumeratable() const final { return true; }
+ bool supportsFocus() const final;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
+ const AtomicString& formControlType() const final;
+ bool computeWillValidate() const final { return false; }
+ void disabledAttributeChanged() final;
+ void disabledStateChanged() final;
+ void childrenChanged(const ChildChange&) final;
+ void didMoveToNewDocument(Document* oldDocument) final;
- bool matchesValidPseudoClass() const override;
- bool matchesInvalidPseudoClass() const override;
+ bool matchesValidPseudoClass() const final;
+ bool matchesInvalidPseudoClass() const final;
void updateAssociatedElements() const;
Modified: trunk/Source/WebCore/html/HTMLFontElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLFontElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLFontElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -37,8 +37,8 @@
private:
HTMLFontElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
} // namespace
Modified: trunk/Source/WebCore/html/HTMLFormElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLFormElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLFormElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -111,7 +111,7 @@
String method() const;
void setMethod(const String&);
- String target() const override;
+ String target() const final;
bool wasUserSubmitted() const;
@@ -144,21 +144,21 @@
private:
HTMLFormElement(const QualifiedName&, Document&);
- bool rendererIsNeeded(const RenderStyle&) override;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
- void finishParsingChildren() override;
+ bool rendererIsNeeded(const RenderStyle&) final;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
+ void finishParsingChildren() final;
- void handleLocalEvents(Event&) override;
+ void handleLocalEvents(Event&) final;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isURLAttribute(const Attribute&) const override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isURLAttribute(const Attribute&) const final;
- void resumeFromDocumentSuspension() override;
+ void resumeFromDocumentSuspension() final;
- void didMoveToNewDocument(Document* oldDocument) override;
+ void didMoveToNewDocument(Document* oldDocument) final;
- void copyNonAttributePropertiesFromElement(const Element&) override;
+ void copyNonAttributePropertiesFromElement(const Element&) final;
void submit(Event*, bool activateSubmitButton, bool processingUserGesture, FormSubmissionTrigger);
@@ -178,8 +178,8 @@
void assertItemCanBeInPastNamesMap(FormNamedItem*) const;
void removeFromPastNamesMap(FormNamedItem*);
- bool matchesValidPseudoClass() const override;
- bool matchesInvalidPseudoClass() const override;
+ bool matchesValidPseudoClass() const final;
+ bool matchesInvalidPseudoClass() const final;
typedef HashMap<RefPtr<AtomicStringImpl>, FormNamedItem*> PastNamesMap;
Modified: trunk/Source/WebCore/html/HTMLFrameSetElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLFrameSetElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLFrameSetElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -50,20 +50,20 @@
private:
HTMLFrameSetElement(const QualifiedName&, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- void willAttachRenderers() override;
- bool rendererIsNeeded(const RenderStyle&) override;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ void willAttachRenderers() final;
+ bool rendererIsNeeded(const RenderStyle&) final;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
- void defaultEventHandler(Event*) override;
+ void defaultEventHandler(Event*) final;
- bool willRecalcStyle(Style::Change) override;
+ bool willRecalcStyle(Style::Change) final;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
std::unique_ptr<Length[]> m_rowLengths;
std::unique_ptr<Length[]> m_colLengths;
Modified: trunk/Source/WebCore/html/HTMLHRElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLHRElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLHRElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -35,9 +35,9 @@
private:
HTMLHRElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
- bool canContainRangeEndPoint() const override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
+ bool canContainRangeEndPoint() const final;
};
} // namespace WebCore
Modified: trunk/Source/WebCore/html/HTMLHtmlElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLHtmlElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLHtmlElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -38,7 +38,7 @@
private:
HTMLHtmlElement(const QualifiedName&, Document&);
- bool isURLAttribute(const Attribute&) const override;
+ bool isURLAttribute(const Attribute&) const final;
};
} // namespace
Modified: trunk/Source/WebCore/html/HTMLKeygenElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLKeygenElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLKeygenElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -40,20 +40,20 @@
private:
HTMLKeygenElement(const QualifiedName&, Document&, HTMLFormElement*);
- bool computeWillValidate() const override { return false; }
- bool canStartSelection() const override { return false; }
+ bool computeWillValidate() const final { return false; }
+ bool canStartSelection() const final { return false; }
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- bool appendFormData(FormDataList&, bool) override;
- const AtomicString& formControlType() const override;
- bool isOptionalFormControl() const override { return false; }
+ bool appendFormData(FormDataList&, bool) final;
+ const AtomicString& formControlType() const final;
+ bool isOptionalFormControl() const final { return false; }
- bool isEnumeratable() const override { return true; }
- bool supportLabels() const override { return true; }
+ bool isEnumeratable() const final { return true; }
+ bool supportLabels() const final { return true; }
- void reset() override;
- bool shouldSaveAndRestoreFormControlState() const override;
+ void reset() final;
+ bool shouldSaveAndRestoreFormControlState() const final;
bool isKeytypeRSA() const;
Modified: trunk/Source/WebCore/html/HTMLLIElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLLIElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLLIElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -35,11 +35,11 @@
private:
HTMLLIElement(const QualifiedName&, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- void didAttachRenderers() override;
+ void didAttachRenderers() final;
void parseValue(const AtomicString&);
};
Modified: trunk/Source/WebCore/html/HTMLLabelElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLLabelElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLLabelElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -36,23 +36,23 @@
LabelableElement* control();
HTMLFormElement* form() const;
- bool willRespondToMouseClickEvents() override;
+ bool willRespondToMouseClickEvents() final;
private:
HTMLLabelElement(const QualifiedName&, Document&);
- bool isFocusable() const override;
+ bool isFocusable() const final;
- void accessKeyAction(bool sendMouseEvents) override;
+ void accessKeyAction(bool sendMouseEvents) final;
// Overridden to update the hover/active state of the corresponding control.
- void setActive(bool = true, bool pause = false) override;
- void setHovered(bool = true) override;
+ void setActive(bool = true, bool pause = false) final;
+ void setHovered(bool = true) final;
// Overridden to either click() or focus() the corresponding control.
- void defaultEventHandler(Event*) override;
+ void defaultEventHandler(Event*) final;
- void focus(bool restorePreviousSelection, FocusDirection) override;
+ void focus(bool restorePreviousSelection, FocusDirection) final;
};
} //namespace
Modified: trunk/Source/WebCore/html/HTMLLegendElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLLegendElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLLegendElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -40,9 +40,9 @@
// Control in the legend's fieldset that gets focus and access key.
HTMLFormControlElement* associatedControl();
- void accessKeyAction(bool sendMouseEvents) override;
- void focus(bool restorePreviousSelection, FocusDirection) override;
- HTMLFormElement* virtualForm() const override;
+ void accessKeyAction(bool sendMouseEvents) final;
+ void focus(bool restorePreviousSelection, FocusDirection) final;
+ HTMLFormElement* virtualForm() const final;
};
} //namespace
Modified: trunk/Source/WebCore/html/HTMLLinkElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLLinkElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLLinkElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -50,7 +50,7 @@
URL href() const;
const AtomicString& rel() const;
- String target() const override;
+ String target() const final;
const AtomicString& type() const;
@@ -76,39 +76,39 @@
DOMTokenList& relList();
private:
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- bool shouldLoadLink() override;
+ bool shouldLoadLink() final;
void process();
static void processCallback(Node*);
void clearSheet();
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
// from CachedResourceClient
- void setCSSStyleSheet(const String& href, const URL& baseURL, const String& charset, const CachedCSSStyleSheet* sheet) override;
- bool sheetLoaded() override;
- void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) override;
- void startLoadingDynamicSheet() override;
+ void setCSSStyleSheet(const String& href, const URL& baseURL, const String& charset, const CachedCSSStyleSheet*) final;
+ bool sheetLoaded() final;
+ void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) final;
+ void startLoadingDynamicSheet() final;
- void linkLoaded() override;
- void linkLoadingErrored() override;
+ void linkLoaded() final;
+ void linkLoadingErrored() final;
bool isAlternate() const { return m_disabledState == Unset && m_relAttribute.isAlternate; }
void setDisabledState(bool);
- bool isURLAttribute(const Attribute&) const override;
+ bool isURLAttribute(const Attribute&) const final;
- void defaultEventHandler(Event*) override;
+ void defaultEventHandler(Event*) final;
void handleClick(Event&);
HTMLLinkElement(const QualifiedName&, Document&, bool createdByParser);
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
- void finishParsingChildren() override;
+ void finishParsingChildren() final;
enum PendingSheetType { Unknown, ActiveSheet, InactiveSheet };
void addPendingSheet(PendingSheetType);
Modified: trunk/Source/WebCore/html/HTMLMapElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLMapElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLMapElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -46,10 +46,10 @@
private:
HTMLMapElement(const QualifiedName&, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
AtomicString m_name;
};
Modified: trunk/Source/WebCore/html/HTMLMarqueeElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLMarqueeElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLMarqueeElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -39,7 +39,7 @@
// DOM Functions
void start();
- void stop() override;
+ void stop() final;
unsigned scrollAmount() const;
void setScrollAmount(unsigned);
@@ -53,14 +53,14 @@
private:
HTMLMarqueeElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
// ActiveDOMObject
- bool canSuspendForDocumentSuspension() const override;
- void suspend(ReasonForSuspension) override;
- void resume() override;
- const char* activeDOMObjectName() const override { return "HTMLMarqueeElement"; }
+ bool canSuspendForDocumentSuspension() const final;
+ void suspend(ReasonForSuspension) final;
+ void resume() final;
+ const char* activeDOMObjectName() const final { return "HTMLMarqueeElement"; }
RenderMarquee* renderMarquee() const;
};
Modified: trunk/Source/WebCore/html/HTMLMetaElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLMetaElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLMetaElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -38,8 +38,8 @@
private:
HTMLMetaElement(const QualifiedName&, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
void process();
};
Modified: trunk/Source/WebCore/html/HTMLMeterElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLMeterElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLMeterElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -60,7 +60,7 @@
double valueRatio() const;
GaugeRegion gaugeRegion() const;
- bool canContainRangeEndPoint() const override { return false; }
+ bool canContainRangeEndPoint() const final { return false; }
private:
HTMLMeterElement(const QualifiedName&, Document&);
@@ -68,14 +68,14 @@
RenderMeter* renderMeter() const;
- bool supportLabels() const override { return true; }
+ bool supportLabels() const final { return true; }
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
- bool childShouldCreateRenderer(const Node&) const override;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
+ bool childShouldCreateRenderer(const Node&) const final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
void didElementStateChange();
- void didAddUserAgentShadowRoot(ShadowRoot*) override;
+ void didAddUserAgentShadowRoot(ShadowRoot*) final;
RefPtr<MeterValueElement> m_value;
};
Modified: trunk/Source/WebCore/html/HTMLModElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLModElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLModElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -35,7 +35,7 @@
private:
HTMLModElement(const QualifiedName&, Document&);
- bool isURLAttribute(const Attribute&) const override;
+ bool isURLAttribute(const Attribute&) const final;
};
} //namespace
Modified: trunk/Source/WebCore/html/HTMLOListElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLOListElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLOListElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -54,9 +54,9 @@
void recalculateItemCount();
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
Optional<int> m_start;
unsigned m_itemCount;
Modified: trunk/Source/WebCore/html/HTMLObjectElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLObjectElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLObjectElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -39,16 +39,16 @@
bool containsJavaApplet() const;
bool hasFallbackContent() const;
- bool useFallbackContent() const override { return m_useFallbackContent; }
+ bool useFallbackContent() const final { return m_useFallbackContent; }
void renderFallbackContent();
- bool willValidate() const override { return false; }
+ bool willValidate() const final { return false; }
// Implementation of constraint validation API.
// Note that the object elements are always barred from constraint validation.
static bool checkValidity() { return true; }
- void setCustomValidity(const String&) override { }
- String validationMessage() const override { return String(); }
+ void setCustomValidity(const String&) final { }
+ String validationMessage() const final { return String(); }
using HTMLPlugInImageElement::ref;
using HTMLPlugInImageElement::deref;
@@ -58,26 +58,26 @@
private:
HTMLObjectElement(const QualifiedName&, Document&, HTMLFormElement*, bool createdByParser);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
void finishedInsertingSubtree() final;
- void removedFrom(ContainerNode&) override;
+ void removedFrom(ContainerNode&) final;
- void didMoveToNewDocument(Document* oldDocument) override;
+ void didMoveToNewDocument(Document* oldDocument) final;
- void childrenChanged(const ChildChange&) override;
+ void childrenChanged(const ChildChange&) final;
- bool isURLAttribute(const Attribute&) const override;
- const AtomicString& imageSourceURL() const override;
+ bool isURLAttribute(const Attribute&) const final;
+ const AtomicString& imageSourceURL() const final;
- RenderWidget* renderWidgetLoadingPlugin() const override;
+ RenderWidget* renderWidgetLoadingPlugin() const final;
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
- void updateWidget(PluginCreationOption) override;
+ void updateWidget(PluginCreationOption) final;
void updateDocNamedItem();
// FIXME: This function should not deal with url or serviceType
@@ -88,20 +88,20 @@
bool hasValidClassId();
void clearUseFallbackContent() { m_useFallbackContent = false; }
- void refFormAssociatedElement() override { ref(); }
- void derefFormAssociatedElement() override { deref(); }
- HTMLFormElement* virtualForm() const override;
+ void refFormAssociatedElement() final { ref(); }
+ void derefFormAssociatedElement() final { deref(); }
+ HTMLFormElement* virtualForm() const final;
- FormNamedItem* asFormNamedItem() override { return this; }
- HTMLObjectElement& asHTMLElement() override { return *this; }
- const HTMLObjectElement& asHTMLElement() const override { return *this; }
+ FormNamedItem* asFormNamedItem() final { return this; }
+ HTMLObjectElement& asHTMLElement() final { return *this; }
+ const HTMLObjectElement& asHTMLElement() const final { return *this; }
- bool isFormControlElement() const override { return false; }
+ bool isFormControlElement() const final { return false; }
- bool isEnumeratable() const override { return true; }
- bool appendFormData(FormDataList&, bool) override;
+ bool isEnumeratable() const final { return true; }
+ bool appendFormData(FormDataList&, bool) final;
- bool canContainRangeEndPoint() const override;
+ bool canContainRangeEndPoint() const final;
bool m_docNamedItem : 1;
bool m_useFallbackContent : 1;
Modified: trunk/Source/WebCore/html/HTMLOptGroupElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLOptGroupElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLOptGroupElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -34,7 +34,7 @@
public:
static Ref<HTMLOptGroupElement> create(const QualifiedName&, Document&);
- bool isDisabledFormControl() const override;
+ bool isDisabledFormControl() const final;
HTMLSelectElement* ownerSelectElement() const;
WEBCORE_EXPORT String groupLabelText() const;
@@ -43,13 +43,13 @@
HTMLOptGroupElement(const QualifiedName&, Document&);
const AtomicString& formControlType() const;
- bool isFocusable() const override;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool rendererIsNeeded(const RenderStyle&) override { return false; }
+ bool isFocusable() const final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool rendererIsNeeded(const RenderStyle&) final { return false; }
- void childrenChanged(const ChildChange&) override;
+ void childrenChanged(const ChildChange&) final;
- void accessKeyAction(bool sendMouseEvents) override;
+ void accessKeyAction(bool sendMouseEvents) final;
void recalcSelectOptions();
};
Modified: trunk/Source/WebCore/html/HTMLOptionElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLOptionElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLOptionElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -60,7 +60,7 @@
bool ownElementDisabled() const { return m_disabled; }
- bool isDisabledFormControl() const override;
+ bool isDisabledFormControl() const final;
String textIndentedToRespectGroupLabel() const;
@@ -69,18 +69,18 @@
private:
HTMLOptionElement(const QualifiedName&, Document&);
- bool isFocusable() const override;
- bool rendererIsNeeded(const RenderStyle&) override { return false; }
- bool matchesDefaultPseudoClass() const override;
+ bool isFocusable() const final;
+ bool rendererIsNeeded(const RenderStyle&) final { return false; }
+ bool matchesDefaultPseudoClass() const final;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void accessKeyAction(bool) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void accessKeyAction(bool) final;
- void childrenChanged(const ChildChange&) override;
+ void childrenChanged(const ChildChange&) final;
- void willResetComputedStyle() override;
+ void willResetComputedStyle() final;
String collectOptionInnerText() const;
Modified: trunk/Source/WebCore/html/HTMLOutputElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLOutputElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLOutputElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -46,19 +46,19 @@
void setDefaultValue(const String&);
DOMTokenList& htmlFor();
- bool canContainRangeEndPoint() const override { return false; }
+ bool canContainRangeEndPoint() const final { return false; }
private:
HTMLOutputElement(const QualifiedName&, Document&, HTMLFormElement*);
- bool computeWillValidate() const override { return false; }
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- const AtomicString& formControlType() const override;
- bool isEnumeratable() const override { return true; }
- bool supportLabels() const override { return true; }
- bool supportsFocus() const override;
- void childrenChanged(const ChildChange&) override;
- void reset() override;
+ bool computeWillValidate() const final { return false; }
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ const AtomicString& formControlType() const final;
+ bool isEnumeratable() const final { return true; }
+ bool supportLabels() const final { return true; }
+ bool supportsFocus() const final;
+ void childrenChanged(const ChildChange&) final;
+ void reset() final;
void setTextContentInternal(const String&);
Modified: trunk/Source/WebCore/html/HTMLParagraphElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLParagraphElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLParagraphElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -35,8 +35,8 @@
private:
HTMLParagraphElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
} // namespace WebCore
Modified: trunk/Source/WebCore/html/HTMLParamElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLParamElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLParamElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -39,8 +39,8 @@
private:
HTMLParamElement(const QualifiedName&, Document&);
- bool isURLAttribute(const Attribute&) const override;
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ bool isURLAttribute(const Attribute&) const final;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
};
} // namespace WebCore
Modified: trunk/Source/WebCore/html/HTMLPreElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLPreElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLPreElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -34,8 +34,8 @@
private:
HTMLPreElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
} // namespace WebCore
Modified: trunk/Source/WebCore/html/HTMLProgressElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLProgressElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLProgressElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -43,25 +43,25 @@
double position() const;
- bool canContainRangeEndPoint() const override { return false; }
+ bool canContainRangeEndPoint() const final { return false; }
private:
HTMLProgressElement(const QualifiedName&, Document&);
virtual ~HTMLProgressElement();
- bool shouldAppearIndeterminate() const override;
- bool supportLabels() const override { return true; }
+ bool shouldAppearIndeterminate() const final;
+ bool supportLabels() const final { return true; }
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
- bool childShouldCreateRenderer(const Node&) const override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
+ bool childShouldCreateRenderer(const Node&) const final;
RenderProgress* renderProgress() const;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- void didAttachRenderers() override;
+ void didAttachRenderers() final;
void didElementStateChange();
- void didAddUserAgentShadowRoot(ShadowRoot*) override;
+ void didAddUserAgentShadowRoot(ShadowRoot*) final;
bool isDeterminate() const;
ProgressValueElement* m_value;
Modified: trunk/Source/WebCore/html/HTMLQuoteElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLQuoteElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLQuoteElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -36,7 +36,7 @@
private:
HTMLQuoteElement(const QualifiedName&, Document&);
- bool isURLAttribute(const Attribute&) const override;
+ bool isURLAttribute(const Attribute&) const final;
};
} //namespace
Modified: trunk/Source/WebCore/html/HTMLScriptElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLScriptElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLScriptElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -47,28 +47,28 @@
private:
HTMLScriptElement(const QualifiedName&, Document&, bool wasInsertedByParser, bool alreadyStarted);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void finishedInsertingSubtree() override;
- void childrenChanged(const ChildChange&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void finishedInsertingSubtree() final;
+ void childrenChanged(const ChildChange&) final;
- bool isURLAttribute(const Attribute&) const override;
+ bool isURLAttribute(const Attribute&) const final;
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
- String sourceAttributeValue() const override;
- String charsetAttributeValue() const override;
- String typeAttributeValue() const override;
- String languageAttributeValue() const override;
- String forAttributeValue() const override;
- String eventAttributeValue() const override;
- bool asyncAttributeValue() const override;
- bool deferAttributeValue() const override;
- bool hasSourceAttribute() const override;
+ String sourceAttributeValue() const final;
+ String charsetAttributeValue() const final;
+ String typeAttributeValue() const final;
+ String languageAttributeValue() const final;
+ String forAttributeValue() const final;
+ String eventAttributeValue() const final;
+ bool asyncAttributeValue() const final;
+ bool deferAttributeValue() const final;
+ bool hasSourceAttribute() const final;
- void dispatchLoadEvent() override;
+ void dispatchLoadEvent() final;
- Ref<Element> cloneElementWithoutAttributesAndChildren(Document&) override;
+ Ref<Element> cloneElementWithoutAttributesAndChildren(Document&) final;
};
} //namespace
Modified: trunk/Source/WebCore/html/HTMLSourceElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLSourceElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLSourceElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -50,18 +50,18 @@
private:
HTMLSourceElement(const QualifiedName&, Document&);
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
- bool isURLAttribute(const Attribute&) const override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
+ bool isURLAttribute(const Attribute&) const final;
// ActiveDOMObject.
- const char* activeDOMObjectName() const override;
- bool canSuspendForDocumentSuspension() const override;
- void suspend(ReasonForSuspension) override;
- void resume() override;
- void stop() override;
+ const char* activeDOMObjectName() const final;
+ bool canSuspendForDocumentSuspension() const final;
+ void suspend(ReasonForSuspension) final;
+ void resume() final;
+ void stop() final;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
void errorEventTimerFired();
Modified: trunk/Source/WebCore/html/HTMLStyleElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLStyleElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLStyleElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -51,19 +51,19 @@
HTMLStyleElement(const QualifiedName&, Document&, bool createdByParser);
// overload from HTMLElement
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
- void childrenChanged(const ChildChange&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
+ void childrenChanged(const ChildChange&) final;
- void finishParsingChildren() override;
+ void finishParsingChildren() final;
bool isLoading() const { return m_styleSheetOwner.isLoading(); }
- bool sheetLoaded() override { return m_styleSheetOwner.sheetLoaded(*this); }
- void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) override;
- void startLoadingDynamicSheet() override { m_styleSheetOwner.startLoadingDynamicSheet(*this); }
+ bool sheetLoaded() final { return m_styleSheetOwner.sheetLoaded(*this); }
+ void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) final;
+ void startLoadingDynamicSheet() final { m_styleSheetOwner.startLoadingDynamicSheet(*this); }
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
InlineStyleSheetOwner m_styleSheetOwner;
bool m_firedLoad;
Modified: trunk/Source/WebCore/html/HTMLSummaryElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLSummaryElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLSummaryElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -32,21 +32,21 @@
static Ref<HTMLSummaryElement> create(const QualifiedName&, Document&);
bool isActiveSummary() const;
- bool willRespondToMouseClickEvents() override;
+ bool willRespondToMouseClickEvents() final;
private:
HTMLSummaryElement(const QualifiedName&, Document&);
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
- void defaultEventHandler(Event*) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
+ void defaultEventHandler(Event*) final;
- void didAddUserAgentShadowRoot(ShadowRoot*) override;
+ void didAddUserAgentShadowRoot(ShadowRoot*) final;
bool hasCustomFocusLogic() const final { return true; }
HTMLDetailsElement* detailsElement() const;
- bool supportsFocus() const override;
+ bool supportsFocus() const final;
};
}
Modified: trunk/Source/WebCore/html/HTMLTableCaptionElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLTableCaptionElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLTableCaptionElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -37,8 +37,8 @@
private:
HTMLTableCaptionElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
} // namespace
Modified: trunk/Source/WebCore/html/HTMLTableColElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLTableColElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLTableColElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -42,10 +42,10 @@
private:
HTMLTableColElement(const QualifiedName& tagName, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
- const StyleProperties* additionalPresentationAttributeStyle() const override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
+ const StyleProperties* additionalPresentationAttributeStyle() const final;
unsigned m_span;
};
Modified: trunk/Source/WebCore/html/HTMLTableElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLTableElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLTableElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -72,15 +72,15 @@
private:
HTMLTableElement(const QualifiedName&, Document&);
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
- bool isURLAttribute(const Attribute&) const override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
+ bool isURLAttribute(const Attribute&) const final;
// Used to obtain either a solid or outset border decl and to deal with the frame and rules attributes.
- const StyleProperties* additionalPresentationAttributeStyle() const override;
+ const StyleProperties* additionalPresentationAttributeStyle() const final;
- void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
+ void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
enum TableRules { UnsetRules, NoneRules, GroupsRules, RowsRules, ColsRules, AllRules };
enum CellBorders { NoBorders, SolidBorders, InsetBorders, SolidBordersColsOnly, SolidBordersRowsOnly };
Modified: trunk/Source/WebCore/html/HTMLTableSectionElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLTableSectionElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLTableSectionElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -58,7 +58,7 @@
private:
HTMLTableSectionElement(const QualifiedName& tagName, Document&);
- const StyleProperties* additionalPresentationAttributeStyle() const override;
+ const StyleProperties* additionalPresentationAttributeStyle() const final;
};
} // namespace WebCore
Modified: trunk/Source/WebCore/html/HTMLTemplateElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLTemplateElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLTemplateElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -48,8 +48,8 @@
private:
HTMLTemplateElement(const QualifiedName&, Document&);
- Ref<Node> cloneNodeInternal(Document&, CloningOperation) override;
- void didMoveToNewDocument(Document* oldDocument) override;
+ Ref<Node> cloneNodeInternal(Document&, CloningOperation) final;
+ void didMoveToNewDocument(Document* oldDocument) final;
mutable RefPtr<TemplateContentDocumentFragment> m_content;
};
Modified: trunk/Source/WebCore/html/HTMLTextAreaElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLTextAreaElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLTextAreaElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -40,7 +40,7 @@
bool shouldWrapText() const { return m_wrap != NoWrap; }
- WEBCORE_EXPORT String value() const override;
+ WEBCORE_EXPORT String value() const final;
WEBCORE_EXPORT void setValue(const String&);
String defaultValue() const;
void setDefaultValue(const String&);
@@ -48,13 +48,13 @@
int maxLengthForBindings() const { return m_maxLength; }
int effectiveMaxLength() const { return m_maxLength; }
// For ValidityState
- String validationMessage() const override;
- bool valueMissing() const override;
- bool tooLong() const override;
+ String validationMessage() const final;
+ bool valueMissing() const final;
+ bool tooLong() const final;
bool isValidValue(const String&) const;
- TextControlInnerTextElement* innerTextElement() const override;
- RenderStyle createInnerTextStyle(const RenderStyle&) const override;
+ TextControlInnerTextElement* innerTextElement() const final;
+ RenderStyle createInnerTextStyle(const RenderStyle&) const final;
void rendererWillBeDestroyed();
@@ -61,7 +61,7 @@
void setCols(unsigned);
void setRows(unsigned);
- bool willRespondToMouseClickEvents() override;
+ bool willRespondToMouseClickEvents() final;
RenderTextControlMultiLine* renderer() const;
@@ -70,7 +70,7 @@
enum WrapMethod { NoWrap, SoftWrap, HardWrap };
- void didAddUserAgentShadowRoot(ShadowRoot*) override;
+ void didAddUserAgentShadowRoot(ShadowRoot*) final;
void maxLengthAttributeChanged(const AtomicString& newValue);
@@ -80,44 +80,44 @@
void setNonDirtyValue(const String&);
void setValueCommon(const String&);
- bool supportsPlaceholder() const override { return true; }
- HTMLElement* placeholderElement() const override;
- void updatePlaceholderText() override;
- bool isEmptyValue() const override { return value().isEmpty(); }
+ bool supportsPlaceholder() const final { return true; }
+ HTMLElement* placeholderElement() const final;
+ void updatePlaceholderText() final;
+ bool isEmptyValue() const final { return value().isEmpty(); }
- bool isOptionalFormControl() const override { return !isRequiredFormControl(); }
- bool isRequiredFormControl() const override { return isRequired(); }
+ bool isOptionalFormControl() const final { return !isRequiredFormControl(); }
+ bool isRequiredFormControl() const final { return isRequired(); }
- void defaultEventHandler(Event*) override;
+ void defaultEventHandler(Event*) final;
- void subtreeHasChanged() override;
+ void subtreeHasChanged() final;
- bool isEnumeratable() const override { return true; }
- bool supportLabels() const override { return true; }
+ bool isEnumeratable() const final { return true; }
+ bool supportLabels() const final { return true; }
- const AtomicString& formControlType() const override;
+ const AtomicString& formControlType() const final;
- FormControlState saveFormControlState() const override;
- void restoreFormControlState(const FormControlState&) override;
+ FormControlState saveFormControlState() const final;
+ void restoreFormControlState(const FormControlState&) final;
- bool isTextFormControl() const override { return true; }
+ bool isTextFormControl() const final { return true; }
- void childrenChanged(const ChildChange&) override;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
- bool appendFormData(FormDataList&, bool) override;
- void reset() override;
- bool hasCustomFocusLogic() const override;
- bool isMouseFocusable() const override;
- bool isKeyboardFocusable(KeyboardEvent*) const override;
- void updateFocusAppearance(SelectionRestorationMode, SelectionRevealMode) override;
+ void childrenChanged(const ChildChange&) final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
+ bool appendFormData(FormDataList&, bool) final;
+ void reset() final;
+ bool hasCustomFocusLogic() const final;
+ bool isMouseFocusable() const final;
+ bool isKeyboardFocusable(KeyboardEvent*) const final;
+ void updateFocusAppearance(SelectionRestorationMode, SelectionRevealMode) final;
- void accessKeyAction(bool sendMouseEvents) override;
+ void accessKeyAction(bool sendMouseEvents) final;
- bool shouldUseInputMethod() override;
- bool matchesReadWritePseudoClass() const override;
+ bool shouldUseInputMethod() final;
+ bool matchesReadWritePseudoClass() const final;
bool valueMissing(const String& value) const { return isRequiredFormControl() && !isDisabledOrReadOnly() && value.isEmpty(); }
bool tooLong(const String&, NeedsToCheckDirtyFlag) const;
Modified: trunk/Source/WebCore/html/HTMLTitleElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLTitleElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLTitleElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -39,9 +39,9 @@
private:
HTMLTitleElement(const QualifiedName&, Document&);
- InsertionNotificationRequest insertedInto(ContainerNode&) override;
- void removedFrom(ContainerNode&) override;
- void childrenChanged(const ChildChange&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode&) final;
+ void removedFrom(ContainerNode&) final;
+ void childrenChanged(const ChildChange&) final;
StringWithDirection computedTextWithDirection();
Modified: trunk/Source/WebCore/html/HTMLUListElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLUListElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLUListElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -35,8 +35,8 @@
private:
HTMLUListElement(const QualifiedName&, Document&);
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
} //namespace
Modified: trunk/Source/WebCore/html/HTMLUnknownElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLUnknownElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLUnknownElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -47,7 +47,7 @@
{
}
- bool isHTMLUnknownElement() const override { return true; }
+ bool isHTMLUnknownElement() const final { return true; }
};
} // namespace
Modified: trunk/Source/WebCore/html/HTMLVideoElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLVideoElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLVideoElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -47,7 +47,7 @@
bool webkitSupportsFullscreen();
bool webkitDisplayingFullscreen();
- void ancestorWillEnterFullscreen() override;
+ void ancestorWillEnterFullscreen() final;
// FIXME: Maintain "FullScreen" capitalization scheme for backwards compatibility.
// https://bugs.webkit.org/show_bug.cgi?id=36081
@@ -76,7 +76,7 @@
bool shouldDisplayPosterImage() const { return displayMode() == Poster || displayMode() == PosterWaitingForVideo; }
URL posterImageURL() const;
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
#if ENABLE(VIDEO_PRESENTATION_MODE)
enum class VideoPresentationMode { Fullscreen, PictureInPicture, Inline };
@@ -84,7 +84,7 @@
void webkitSetPresentationMode(VideoPresentationMode);
VideoPresentationMode webkitPresentationMode() const;
void setFullscreenMode(VideoFullscreenMode);
- void fullscreenModeChanged(VideoFullscreenMode) override;
+ void fullscreenModeChanged(VideoFullscreenMode) final;
#endif
#if PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE)
@@ -96,25 +96,25 @@
private:
HTMLVideoElement(const QualifiedName&, Document&, bool createdByParser);
- void scheduleResizeEvent() override;
- void scheduleResizeEventIfSizeChanged() override;
- bool rendererIsNeeded(const RenderStyle&) override;
- void didAttachRenderers() override;
- void parseAttribute(const QualifiedName&, const AtomicString&) override;
- bool isPresentationAttribute(const QualifiedName&) const override;
- void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
- bool isVideo() const override { return true; }
- bool hasVideo() const override { return player() && player()->hasVideo(); }
- bool supportsFullscreen(HTMLMediaElementEnums::VideoFullscreenMode) const override;
- bool isURLAttribute(const Attribute&) const override;
- const AtomicString& imageSourceURL() const override;
+ void scheduleResizeEvent() final;
+ void scheduleResizeEventIfSizeChanged() final;
+ bool rendererIsNeeded(const RenderStyle&) final;
+ void didAttachRenderers() final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
+ bool isVideo() const final { return true; }
+ bool hasVideo() const final { return player() && player()->hasVideo(); }
+ bool supportsFullscreen(HTMLMediaElementEnums::VideoFullscreenMode) const final;
+ bool isURLAttribute(const Attribute&) const final;
+ const AtomicString& imageSourceURL() const final;
bool hasAvailableVideoFrame() const;
- void updateDisplayState() override;
- void didMoveToNewDocument(Document* oldDocument) override;
- void setDisplayMode(DisplayMode) override;
+ void updateDisplayState() final;
+ void didMoveToNewDocument(Document* oldDocument) final;
+ void setDisplayMode(DisplayMode) final;
- PlatformMediaSession::MediaType presentationType() const override { return PlatformMediaSession::Video; }
+ PlatformMediaSession::MediaType presentationType() const final { return PlatformMediaSession::Video; }
std::unique_ptr<HTMLImageLoader> m_imageLoader;
Modified: trunk/Source/WebCore/html/HTMLWBRElement.h (203263 => 203264)
--- trunk/Source/WebCore/html/HTMLWBRElement.h 2016-07-15 02:11:42 UTC (rev 203263)
+++ trunk/Source/WebCore/html/HTMLWBRElement.h 2016-07-15 02:17:24 UTC (rev 203264)
@@ -40,7 +40,7 @@
private:
HTMLWBRElement(const QualifiedName&, Document&);
- RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
+ RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;
};
} // namespace WebCore