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

Side by Side Diff: Source/core/dom/PendingScript.h

Issue 947393002: InlinedVisitor: Migrate dom 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 Element* element() const { return m_element.get(); } 69 Element* element() const { return m_element.get(); }
70 void setElement(Element*); 70 void setElement(Element*);
71 PassRefPtrWillBeRawPtr<Element> releaseElementAndClear(); 71 PassRefPtrWillBeRawPtr<Element> releaseElementAndClear();
72 72
73 void setScriptResource(ScriptResource*); 73 void setScriptResource(ScriptResource*);
74 74
75 virtual void notifyFinished(Resource*); 75 virtual void notifyFinished(Resource*);
76 virtual void notifyAppendData(ScriptResource*); 76 virtual void notifyAppendData(ScriptResource*);
77 77
78 void trace(Visitor*); 78 DECLARE_TRACE();
79 79
80 ScriptSourceCode getSource(const KURL& documentURL, bool& errorOccurred) con st; 80 ScriptSourceCode getSource(const KURL& documentURL, bool& errorOccurred) con st;
81 81
82 void setStreamer(PassRefPtrWillBeRawPtr<ScriptStreamer>); 82 void setStreamer(PassRefPtrWillBeRawPtr<ScriptStreamer>);
83 83
84 bool isReady() const; 84 bool isReady() const;
85 85
86 private: 86 private:
87 bool m_watchingForLoad; 87 bool m_watchingForLoad;
88 RefPtrWillBeMember<Element> m_element; 88 RefPtrWillBeMember<Element> m_element;
89 TextPosition m_startingPosition; // Only used for inline script tags. 89 TextPosition m_startingPosition; // Only used for inline script tags.
90 90
91 RefPtrWillBeMember<ScriptStreamer> m_streamer; 91 RefPtrWillBeMember<ScriptStreamer> m_streamer;
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // PendingScript_h 96 #endif // PendingScript_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698