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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLStyleElement.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 * Copyright (C) 2003, 2010 Apple Inc. ALl rights reserved. 4 * Copyright (C) 2003, 2010 Apple Inc. ALl rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void setDisabled(bool); 45 void setDisabled(bool);
46 46
47 void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>); 47 void dispatchPendingEvent(std::unique_ptr<IncrementLoadEventDelayCount>);
48 48
49 DECLARE_VIRTUAL_TRACE(); 49 DECLARE_VIRTUAL_TRACE();
50 50
51 private: 51 private:
52 HTMLStyleElement(Document&, bool createdByParser); 52 HTMLStyleElement(Document&, bool createdByParser);
53 53
54 // overload from HTMLElement 54 // overload from HTMLElement
55 void parseAttribute(const QualifiedName&, 55 void parseAttribute(const AttributeModificationParams&) override;
56 const AtomicString&,
57 const AtomicString&) override;
58 InsertionNotificationRequest insertedInto(ContainerNode*) override; 56 InsertionNotificationRequest insertedInto(ContainerNode*) override;
59 void didNotifySubtreeInsertionsToDocument() override; 57 void didNotifySubtreeInsertionsToDocument() override;
60 void removedFrom(ContainerNode*) override; 58 void removedFrom(ContainerNode*) override;
61 void childrenChanged(const ChildrenChange&) override; 59 void childrenChanged(const ChildrenChange&) override;
62 60
63 void finishParsingChildren() override; 61 void finishParsingChildren() override;
64 62
65 bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); } 63 bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); }
66 void notifyLoadedSheetAndAllCriticalSubresources( 64 void notifyLoadedSheetAndAllCriticalSubresources(
67 LoadedSheetErrorStatus) override; 65 LoadedSheetErrorStatus) override;
68 void startLoadingDynamicSheet() override { 66 void startLoadingDynamicSheet() override {
69 StyleElement::startLoadingDynamicSheet(document()); 67 StyleElement::startLoadingDynamicSheet(document());
70 } 68 }
71 69
72 const AtomicString& media() const override; 70 const AtomicString& media() const override;
73 const AtomicString& type() const override; 71 const AtomicString& type() const override;
74 72
75 bool m_firedLoad; 73 bool m_firedLoad;
76 bool m_loadedSheet; 74 bool m_loadedSheet;
77 }; 75 };
78 76
79 } // namespace blink 77 } // namespace blink
80 78
81 #endif // HTMLStyleElement_h 79 #endif // HTMLStyleElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLSourceElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLStyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698