| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 bool isReady() const; | 95 bool isReady() const; |
| 96 bool errorOccurred() const; | 96 bool errorOccurred() const; |
| 97 | 97 |
| 98 void dispose(); | 98 void dispose(); |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 PendingScript(Element*, ScriptResource*); | 101 PendingScript(Element*, ScriptResource*); |
| 102 PendingScript() = delete; | 102 PendingScript() = delete; |
| 103 | 103 |
| 104 void prepareToSuspend() override; | 104 void onMemoryStateChange(MemoryState) override; |
| 105 | 105 |
| 106 bool m_watchingForLoad; | 106 bool m_watchingForLoad; |
| 107 Member<Element> m_element; | 107 Member<Element> m_element; |
| 108 TextPosition m_startingPosition; // Only used for inline script tags. | 108 TextPosition m_startingPosition; // Only used for inline script tags. |
| 109 bool m_integrityFailure; | 109 bool m_integrityFailure; |
| 110 double m_parserBlockingLoadStartTime; | 110 double m_parserBlockingLoadStartTime; |
| 111 | 111 |
| 112 Member<ScriptStreamer> m_streamer; | 112 Member<ScriptStreamer> m_streamer; |
| 113 Member<ScriptResourceClient> m_client; | 113 Member<ScriptResourceClient> m_client; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace blink | 116 } // namespace blink |
| 117 | 117 |
| 118 #endif // PendingScript_h | 118 #endif // PendingScript_h |
| OLD | NEW |