OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); | 101 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); |
102 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); | 102 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); |
103 | 103 |
104 // EventTarget | 104 // EventTarget |
105 const AtomicString& interfaceName() const override; | 105 const AtomicString& interfaceName() const override; |
106 ExecutionContext* getExecutionContext() const override; | 106 ExecutionContext* getExecutionContext() const override; |
107 | 107 |
108 // ActiveDOMObject | 108 // ActiveDOMObject |
109 void suspend() override; | 109 void suspend() override; |
110 void resume() override; | 110 void resume() override; |
111 void stop() override; | 111 void contextDestroyed() override; |
112 | 112 |
113 // ScriptWrappable | 113 // ScriptWrappable |
114 bool hasPendingActivity() const override; | 114 bool hasPendingActivity() const override; |
115 | 115 |
116 DECLARE_VIRTUAL_TRACE(); | 116 DECLARE_VIRTUAL_TRACE(); |
117 | 117 |
118 // WebRTCDataChannelHandlerClient | 118 // WebRTCDataChannelHandlerClient |
119 void didChangeReadyState(WebRTCDataChannelHandlerClient::ReadyState) override; | 119 void didChangeReadyState(WebRTCDataChannelHandlerClient::ReadyState) override; |
120 void didDecreaseBufferedAmount(unsigned) override; | 120 void didDecreaseBufferedAmount(unsigned) override; |
121 void didReceiveStringData(const WebString&) override; | 121 void didReceiveStringData(const WebString&) override; |
(...skipping 20 matching lines...) Expand all Loading... |
142 unsigned m_bufferedAmountLowThreshold; | 142 unsigned m_bufferedAmountLowThreshold; |
143 | 143 |
144 bool m_stopped; | 144 bool m_stopped; |
145 | 145 |
146 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); | 146 FRIEND_TEST_ALL_PREFIXES(RTCDataChannelTest, BufferedAmountLow); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace blink | 149 } // namespace blink |
150 | 150 |
151 #endif // RTCDataChannel_h | 151 #endif // RTCDataChannel_h |
OLD | NEW |