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

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

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 namespace blink { 55 namespace blink {
56 56
57 class Blob; 57 class Blob;
58 class DOMArrayBuffer; 58 class DOMArrayBuffer;
59 class DOMArrayBufferView; 59 class DOMArrayBufferView;
60 class ExceptionState; 60 class ExceptionState;
61 class ExecutionContext; 61 class ExecutionContext;
62 class StringOrStringSequence; 62 class StringOrStringSequence;
63 63
64 class MODULES_EXPORT DOMWebSocket : public EventTargetWithInlineData, 64 class MODULES_EXPORT DOMWebSocket : public EventTargetWithInlineData,
65 public ActiveScriptWrappable, 65 public ActiveScriptWrappable<DOMWebSocket>,
66 public SuspendableObject, 66 public SuspendableObject,
67 public WebSocketChannelClient { 67 public WebSocketChannelClient {
68 DEFINE_WRAPPERTYPEINFO(); 68 DEFINE_WRAPPERTYPEINFO();
69 USING_GARBAGE_COLLECTED_MIXIN(DOMWebSocket); 69 USING_GARBAGE_COLLECTED_MIXIN(DOMWebSocket);
70 70
71 public: 71 public:
72 static const char* subprotocolSeperator(); 72 static const char* subprotocolSeperator();
73 // DOMWebSocket instances must be used with a wrapper since this class's 73 // DOMWebSocket instances must be used with a wrapper since this class's
74 // lifetime management is designed assuming the V8 holds a ref on it while 74 // lifetime management is designed assuming the V8 holds a ref on it while
75 // hasPendingActivity() returns true. 75 // hasPendingActivity() returns true.
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 String m_subprotocol; 252 String m_subprotocol;
253 String m_extensions; 253 String m_extensions;
254 254
255 Member<EventQueue> m_eventQueue; 255 Member<EventQueue> m_eventQueue;
256 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer; 256 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer;
257 }; 257 };
258 258
259 } // namespace blink 259 } // namespace blink
260 260
261 #endif // DOMWebSocket_h 261 #endif // DOMWebSocket_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp ('k') | third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698