Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: third_party/WebKit/Source/modules/websockets/DOMWebSocket.h

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIPort.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // EventTarget functions. 114 // EventTarget functions.
115 const AtomicString& interfaceName() const override; 115 const AtomicString& interfaceName() const override;
116 ExecutionContext* getExecutionContext() const override; 116 ExecutionContext* getExecutionContext() const override;
117 117
118 // ActiveDOMObject functions. 118 // ActiveDOMObject functions.
119 void contextDestroyed() override; 119 void contextDestroyed() override;
120 void suspend() override; 120 void suspend() override;
121 void resume() override; 121 void resume() override;
122 void stop() override; 122 void stop() override;
123 123
124 // ActiveScriptWrappable 124 // ScriptWrappable functions.
125 // Prevent this instance from being collected while it's not in CLOSED 125 // Prevent this instance from being collected while it's not in CLOSED
126 // state. 126 // state.
127 bool hasPendingActivity() const final; 127 bool hasPendingActivity() const final;
128 128
129 // WebSocketChannelClient functions. 129 // WebSocketChannelClient functions.
130 void didConnect(const String& subprotocol, const String& extensions) overrid e; 130 void didConnect(const String& subprotocol, const String& extensions) overrid e;
131 void didReceiveTextMessage(const String& message) override; 131 void didReceiveTextMessage(const String& message) override;
132 void didReceiveBinaryMessage(std::unique_ptr<Vector<char>>) override; 132 void didReceiveBinaryMessage(std::unique_ptr<Vector<char>>) override;
133 void didError() override; 133 void didError() override;
134 void didConsumeBufferedAmount(uint64_t) override; 134 void didConsumeBufferedAmount(uint64_t) override;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 String m_subprotocol; 249 String m_subprotocol;
250 String m_extensions; 250 String m_extensions;
251 251
252 Member<EventQueue> m_eventQueue; 252 Member<EventQueue> m_eventQueue;
253 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer; 253 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer;
254 }; 254 };
255 255
256 } // namespace blink 256 } // namespace blink
257 257
258 #endif // DOMWebSocket_h 258 #endif // DOMWebSocket_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIPort.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698