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

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

Issue 365673002: Pass a struct to ContainerNode::childrenChanged() instead of separate arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dead code Created 6 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void trace(Visitor*) OVERRIDE; 55 virtual void trace(Visitor*) OVERRIDE;
56 56
57 private: 57 private:
58 HTMLStyleElement(Document&, bool createdByParser); 58 HTMLStyleElement(Document&, bool createdByParser);
59 59
60 // overload from HTMLElement 60 // overload from HTMLElement
61 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 61 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
62 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 62 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
63 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; 63 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
64 virtual void removedFrom(ContainerNode*) OVERRIDE; 64 virtual void removedFrom(ContainerNode*) OVERRIDE;
65 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; 65 virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
66 66
67 virtual void finishParsingChildren() OVERRIDE; 67 virtual void finishParsingChildren() OVERRIDE;
68 68
69 virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(docum ent()); } 69 virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(docum ent()); }
70 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) OVERRIDE; 70 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) OVERRIDE;
71 virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadin gDynamicSheet(document()); } 71 virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadin gDynamicSheet(document()); }
72 72
73 virtual const AtomicString& media() const OVERRIDE; 73 virtual const AtomicString& media() const OVERRIDE;
74 virtual const AtomicString& type() const OVERRIDE; 74 virtual const AtomicString& type() const OVERRIDE;
75 75
76 bool m_firedLoad; 76 bool m_firedLoad;
77 bool m_loadedSheet; 77 bool m_loadedSheet;
78 }; 78 };
79 79
80 } //namespace 80 } //namespace
81 81
82 #endif 82 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698