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

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

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/HTMLProgressElement.cpp ('k') | Source/core/html/HTMLScriptElement.cpp » ('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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
5 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> 5 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
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 28 matching lines...) Expand all
39 String text() { return textFromChildren(); } 39 String text() { return textFromChildren(); }
40 void setText(const String&); 40 void setText(const String&);
41 41
42 KURL src() const; 42 KURL src() const;
43 43
44 void setAsync(bool); 44 void setAsync(bool);
45 bool async() const; 45 bool async() const;
46 46
47 ScriptLoader* loader() const { return m_loader.get(); } 47 ScriptLoader* loader() const { return m_loader.get(); }
48 48
49 virtual void trace(Visitor*) override; 49 DECLARE_VIRTUAL_TRACE();
50 50
51 private: 51 private:
52 HTMLScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); 52 HTMLScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted);
53 53
54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
55 virtual void attributeWillChange(const QualifiedName&, const AtomicString& o ldValue, const AtomicString& newValue) override; 55 virtual void attributeWillChange(const QualifiedName&, const AtomicString& o ldValue, const AtomicString& newValue) override;
56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
57 virtual void didNotifySubtreeInsertionsToDocument() override; 57 virtual void didNotifySubtreeInsertionsToDocument() override;
58 virtual void childrenChanged(const ChildrenChange&) override; 58 virtual void childrenChanged(const ChildrenChange&) override;
59 virtual void didMoveToNewDocument(Document& oldDocument) override; 59 virtual void didMoveToNewDocument(Document& oldDocument) override;
(...skipping 15 matching lines...) Expand all
75 virtual void dispatchLoadEvent() override; 75 virtual void dispatchLoadEvent() override;
76 76
77 virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChil dren() override; 77 virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChil dren() override;
78 78
79 OwnPtrWillBeMember<ScriptLoader> m_loader; 79 OwnPtrWillBeMember<ScriptLoader> m_loader;
80 }; 80 };
81 81
82 } // namespace blink 82 } // namespace blink
83 83
84 #endif // HTMLScriptElement_h 84 #endif // HTMLScriptElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLProgressElement.cpp ('k') | Source/core/html/HTMLScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698