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

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

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error); 43 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error);
44 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus); 44 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus);
45 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(load); 45 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(load);
46 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize); 46 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize);
47 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(scroll); 47 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(scroll);
48 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange); 48 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange);
49 49
50 private: 50 private:
51 explicit HTMLBodyElement(Document&); 51 explicit HTMLBodyElement(Document&);
52 52
53 void parseAttribute(const QualifiedName&, 53 void parseAttribute(const AttributeModificationParams&) override;
54 const AtomicString&,
55 const AtomicString&) override;
56 bool isPresentationAttribute(const QualifiedName&) const override; 54 bool isPresentationAttribute(const QualifiedName&) const override;
57 void collectStyleForPresentationAttribute(const QualifiedName&, 55 void collectStyleForPresentationAttribute(const QualifiedName&,
58 const AtomicString&, 56 const AtomicString&,
59 MutableStylePropertySet*) override; 57 MutableStylePropertySet*) override;
60 58
61 InsertionNotificationRequest insertedInto(ContainerNode*) override; 59 InsertionNotificationRequest insertedInto(ContainerNode*) override;
62 void didNotifySubtreeInsertionsToDocument() override; 60 void didNotifySubtreeInsertionsToDocument() override;
63 61
64 bool isURLAttribute(const Attribute&) const override; 62 bool isURLAttribute(const Attribute&) const override;
65 bool hasLegalLinkAttribute(const QualifiedName&) const override; 63 bool hasLegalLinkAttribute(const QualifiedName&) const override;
66 const QualifiedName& subResourceAttributeName() const override; 64 const QualifiedName& subResourceAttributeName() const override;
67 65
68 bool supportsFocus() const override; 66 bool supportsFocus() const override;
69 }; 67 };
70 68
71 } // namespace blink 69 } // namespace blink
72 70
73 #endif // HTMLBodyElement_h 71 #endif // HTMLBodyElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLBaseElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698