| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NullExecutionContext_h | 5 #ifndef NullExecutionContext_h |
| 6 #define NullExecutionContext_h | 6 #define NullExecutionContext_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "bindings/core/v8/SourceLocation.h" | 9 #include "bindings/core/v8/SourceLocation.h" |
| 9 #include "core/dom/ExecutionContext.h" | 10 #include "core/dom/ExecutionContext.h" |
| 10 #include "core/dom/SecurityContext.h" | 11 #include "core/dom/SecurityContext.h" |
| 11 #include "core/events/EventQueue.h" | 12 #include "core/events/EventQueue.h" |
| 12 #include "core/inspector/ConsoleMessage.h" | 13 #include "core/inspector/ConsoleMessage.h" |
| 13 #include "platform/heap/Handle.h" | 14 #include "platform/heap/Handle.h" |
| 14 #include "platform/weborigin/KURL.h" | 15 #include "platform/weborigin/KURL.h" |
| 15 #include <memory> | |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class NullExecutionContext | 19 class NullExecutionContext |
| 20 : public GarbageCollectedFinalized<NullExecutionContext>, | 20 : public GarbageCollectedFinalized<NullExecutionContext>, |
| 21 public SecurityContext, | 21 public SecurityContext, |
| 22 public ExecutionContext { | 22 public ExecutionContext { |
| 23 USING_GARBAGE_COLLECTED_MIXIN(NullExecutionContext); | 23 USING_GARBAGE_COLLECTED_MIXIN(NullExecutionContext); |
| 24 | 24 |
| 25 public: | 25 public: |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool tasks_need_suspension_; | 65 bool tasks_need_suspension_; |
| 66 bool is_secure_context_; | 66 bool is_secure_context_; |
| 67 Member<EventQueue> queue_; | 67 Member<EventQueue> queue_; |
| 68 | 68 |
| 69 KURL url_; | 69 KURL url_; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace blink | 72 } // namespace blink |
| 73 | 73 |
| 74 #endif // NullExecutionContext_h | 74 #endif // NullExecutionContext_h |
| OLD | NEW |