| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BroadcastChannel_h | 5 #ifndef BroadcastChannel_h |
| 6 #define BroadcastChannel_h | 6 #define BroadcastChannel_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ActiveScriptWrappable.h" | |
| 9 #include "core/dom/ContextLifecycleObserver.h" | 8 #include "core/dom/ContextLifecycleObserver.h" |
| 10 #include "core/events/EventTarget.h" | 9 #include "core/events/EventTarget.h" |
| 11 #include "mojo/public/cpp/bindings/associated_binding.h" | 10 #include "mojo/public/cpp/bindings/associated_binding.h" |
| 11 #include "platform/bindings/ActiveScriptWrappable.h" |
| 12 #include "platform/weborigin/SecurityOrigin.h" | 12 #include "platform/weborigin/SecurityOrigin.h" |
| 13 #include "public/platform/modules/broadcastchannel/broadcast_channel.mojom-blink
.h" | 13 #include "public/platform/modules/broadcastchannel/broadcast_channel.mojom-blink
.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class ScriptValue; | 17 class ScriptValue; |
| 18 | 18 |
| 19 class BroadcastChannel final : public EventTargetWithInlineData, | 19 class BroadcastChannel final : public EventTargetWithInlineData, |
| 20 public ActiveScriptWrappable<BroadcastChannel>, | 20 public ActiveScriptWrappable<BroadcastChannel>, |
| 21 public ContextLifecycleObserver, | 21 public ContextLifecycleObserver, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 RefPtr<SecurityOrigin> origin_; | 64 RefPtr<SecurityOrigin> origin_; |
| 65 String name_; | 65 String name_; |
| 66 | 66 |
| 67 mojo::AssociatedBinding<mojom::blink::BroadcastChannelClient> binding_; | 67 mojo::AssociatedBinding<mojom::blink::BroadcastChannelClient> binding_; |
| 68 mojom::blink::BroadcastChannelClientAssociatedPtr remote_client_; | 68 mojom::blink::BroadcastChannelClientAssociatedPtr remote_client_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace blink | 71 } // namespace blink |
| 72 | 72 |
| 73 #endif // BroadcastChannel_h | 73 #endif // BroadcastChannel_h |
| OLD | NEW |