| OLD | NEW |
| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // monotonicallyIncreasingTime. | 69 // monotonicallyIncreasingTime. |
| 70 double parserBlockingLoadStartTime() const { | 70 double parserBlockingLoadStartTime() const { |
| 71 return m_parserBlockingLoadStartTime; | 71 return m_parserBlockingLoadStartTime; |
| 72 } | 72 } |
| 73 | 73 |
| 74 void watchForLoad(ScriptResourceClient*); | 74 void watchForLoad(ScriptResourceClient*); |
| 75 void stopWatchingForLoad(); | 75 void stopWatchingForLoad(); |
| 76 | 76 |
| 77 Element* element() const { return m_element.get(); } | 77 Element* element() const { return m_element.get(); } |
| 78 void setElement(Element*); | 78 void setElement(Element*); |
| 79 Element* releaseElementAndClear(); | |
| 80 | 79 |
| 81 void setScriptResource(ScriptResource*); | 80 void setScriptResource(ScriptResource*); |
| 82 | 81 |
| 83 void notifyFinished(Resource*) override; | 82 void notifyFinished(Resource*) override; |
| 84 String debugName() const override { return "PendingScript"; } | 83 String debugName() const override { return "PendingScript"; } |
| 85 void notifyAppendData(ScriptResource*) override; | 84 void notifyAppendData(ScriptResource*) override; |
| 86 | 85 |
| 87 DECLARE_TRACE(); | 86 DECLARE_TRACE(); |
| 88 | 87 |
| 89 ScriptSourceCode getSource(const KURL& documentURL, | 88 ScriptSourceCode getSource(const KURL& documentURL, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 109 bool m_integrityFailure; | 108 bool m_integrityFailure; |
| 110 double m_parserBlockingLoadStartTime; | 109 double m_parserBlockingLoadStartTime; |
| 111 | 110 |
| 112 Member<ScriptStreamer> m_streamer; | 111 Member<ScriptStreamer> m_streamer; |
| 113 Member<ScriptResourceClient> m_client; | 112 Member<ScriptResourceClient> m_client; |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 } // namespace blink | 115 } // namespace blink |
| 117 | 116 |
| 118 #endif // PendingScript_h | 117 #endif // PendingScript_h |
| OLD | NEW |