OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 27 matching lines...) Expand all Loading... |
38 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
39 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
41 #include <memory> | 41 #include <memory> |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 class ExceptionState; | 45 class ExceptionState; |
46 class ExecutionContext; | 46 class ExecutionContext; |
47 class MessagePort; | 47 class MessagePort; |
48 class ScriptState; | |
49 class SerializedScriptValue; | 48 class SerializedScriptValue; |
50 | 49 |
51 // Not to be confused with WebMessagePortChannelArray; this one uses Vector and | 50 // Not to be confused with WebMessagePortChannelArray; this one uses Vector and |
52 // std::unique_ptr instead of WebVector and raw pointers. | 51 // std::unique_ptr instead of WebVector and raw pointers. |
53 typedef Vector<WebMessagePortChannelUniquePtr, 1> MessagePortChannelArray; | 52 typedef Vector<WebMessagePortChannelUniquePtr, 1> MessagePortChannelArray; |
54 | 53 |
55 class CORE_EXPORT MessagePort : public EventTargetWithInlineData, | 54 class CORE_EXPORT MessagePort : public EventTargetWithInlineData, |
56 public ActiveScriptWrappable, | 55 public ActiveScriptWrappable, |
57 public ActiveDOMObject, | 56 public ActiveDOMObject, |
58 public WebMessagePortChannelClient { | 57 public WebMessagePortChannelClient { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 142 |
144 WebMessagePortChannelUniquePtr m_entangledChannel; | 143 WebMessagePortChannelUniquePtr m_entangledChannel; |
145 | 144 |
146 bool m_started; | 145 bool m_started; |
147 bool m_closed; | 146 bool m_closed; |
148 }; | 147 }; |
149 | 148 |
150 } // namespace blink | 149 } // namespace blink |
151 | 150 |
152 #endif // MessagePort_h | 151 #endif // MessagePort_h |
OLD | NEW |