Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: Source/core/html/HTMLBodyElement.h

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLBaseElement.h ('k') | Source/core/html/HTMLButtonElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Simon Hausmann <hausmann@kde.org> 4 * (C) 2000 Simon Hausmann <hausmann@kde.org>
5 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 18 matching lines...) Expand all
29 #include "core/html/HTMLElement.h" 29 #include "core/html/HTMLElement.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class Document; 33 class Document;
34 34
35 class CORE_EXPORT HTMLBodyElement final : public HTMLElement { 35 class CORE_EXPORT HTMLBodyElement final : public HTMLElement {
36 DEFINE_WRAPPERTYPEINFO(); 36 DEFINE_WRAPPERTYPEINFO();
37 public: 37 public:
38 DECLARE_NODE_FACTORY(HTMLBodyElement); 38 DECLARE_NODE_FACTORY(HTMLBodyElement);
39 virtual ~HTMLBodyElement(); 39 ~HTMLBodyElement() override;
40 40
41 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur); 41 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur);
42 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error); 42 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error);
43 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus); 43 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus);
44 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(load); 44 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(load);
45 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize); 45 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize);
46 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(scroll); 46 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(scroll);
47 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange); 47 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange);
48 48
49 private: 49 private:
50 explicit HTMLBodyElement(Document&); 50 explicit HTMLBodyElement(Document&);
51 51
52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 52 void parseAttribute(const QualifiedName&, const AtomicString&) override;
53 virtual bool isPresentationAttribute(const QualifiedName&) const override; 53 bool isPresentationAttribute(const QualifiedName&) const override;
54 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override; 54 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override;
55 55
56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 56 InsertionNotificationRequest insertedInto(ContainerNode*) override;
57 virtual void didNotifySubtreeInsertionsToDocument() override; 57 void didNotifySubtreeInsertionsToDocument() override;
58 58
59 virtual bool isURLAttribute(const Attribute&) const override; 59 bool isURLAttribute(const Attribute&) const override;
60 virtual bool hasLegalLinkAttribute(const QualifiedName&) const override; 60 bool hasLegalLinkAttribute(const QualifiedName&) const override;
61 virtual const QualifiedName& subResourceAttributeName() const override; 61 const QualifiedName& subResourceAttributeName() const override;
62 62
63 virtual bool supportsFocus() const override; 63 bool supportsFocus() const override;
64 }; 64 };
65 65
66 } // namespace blink 66 } // namespace blink
67 67
68 #endif // HTMLBodyElement_h 68 #endif // HTMLBodyElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLBaseElement.h ('k') | Source/core/html/HTMLButtonElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698