| 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 15 matching lines...) Expand all Loading... |
| 26 #ifndef PendingScript_h | 26 #ifndef PendingScript_h |
| 27 #define PendingScript_h | 27 #define PendingScript_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/ScriptStreamer.h" | 29 #include "bindings/core/v8/ScriptStreamer.h" |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/ScriptElementBase.h" | 31 #include "core/dom/ScriptElementBase.h" |
| 32 #include "core/loader/resource/ScriptResource.h" | 32 #include "core/loader/resource/ScriptResource.h" |
| 33 #include "platform/MemoryCoordinator.h" | 33 #include "platform/MemoryCoordinator.h" |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "platform/loader/fetch/ResourceOwner.h" | 35 #include "platform/loader/fetch/ResourceOwner.h" |
| 36 #include "wtf/Noncopyable.h" | 36 #include "platform/wtf/Noncopyable.h" |
| 37 #include "wtf/text/TextPosition.h" | 37 #include "platform/wtf/text/TextPosition.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class PendingScript; | 41 class PendingScript; |
| 42 class ScriptSourceCode; | 42 class ScriptSourceCode; |
| 43 | 43 |
| 44 class CORE_EXPORT PendingScriptClient : public GarbageCollectedMixin { | 44 class CORE_EXPORT PendingScriptClient : public GarbageCollectedMixin { |
| 45 public: | 45 public: |
| 46 virtual ~PendingScriptClient() {} | 46 virtual ~PendingScriptClient() {} |
| 47 | 47 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 Member<PendingScriptClient> client_; | 139 Member<PendingScriptClient> client_; |
| 140 | 140 |
| 141 // This flag is used to skip non-null checks of |m_element| in unit | 141 // This flag is used to skip non-null checks of |m_element| in unit |
| 142 // tests, because |m_element| can be null in unit tests. | 142 // tests, because |m_element| can be null in unit tests. |
| 143 const bool is_for_testing_; | 143 const bool is_for_testing_; |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 } // namespace blink | 146 } // namespace blink |
| 147 | 147 |
| 148 #endif // PendingScript_h | 148 #endif // PendingScript_h |
| OLD | NEW |