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

Side by Side Diff: Source/modules/websockets/WebSocket.cpp

Issue 297103002: Move modules-dependent Event code out of core. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments. Created 6 years, 6 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 | « Source/modules/websockets/CloseEvent.h ('k') | Source/web/WebDocument.cpp » ('j') | 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 19 matching lines...) Expand all
30 30
31 #include "config.h" 31 #include "config.h"
32 32
33 #include "modules/websockets/WebSocket.h" 33 #include "modules/websockets/WebSocket.h"
34 34
35 #include "bindings/v8/ExceptionState.h" 35 #include "bindings/v8/ExceptionState.h"
36 #include "bindings/v8/ScriptController.h" 36 #include "bindings/v8/ScriptController.h"
37 #include "core/dom/Document.h" 37 #include "core/dom/Document.h"
38 #include "core/dom/ExceptionCode.h" 38 #include "core/dom/ExceptionCode.h"
39 #include "core/dom/ExecutionContext.h" 39 #include "core/dom/ExecutionContext.h"
40 #include "core/events/Event.h"
41 #include "core/events/MessageEvent.h" 40 #include "core/events/MessageEvent.h"
42 #include "core/fileapi/Blob.h" 41 #include "core/fileapi/Blob.h"
43 #include "core/frame/ConsoleTypes.h" 42 #include "core/frame/ConsoleTypes.h"
44 #include "core/frame/DOMWindow.h" 43 #include "core/frame/DOMWindow.h"
45 #include "core/frame/LocalFrame.h" 44 #include "core/frame/LocalFrame.h"
46 #include "core/frame/csp/ContentSecurityPolicy.h" 45 #include "core/frame/csp/ContentSecurityPolicy.h"
47 #include "core/inspector/ScriptCallStack.h" 46 #include "core/inspector/ScriptCallStack.h"
48 #include "modules/websockets/CloseEvent.h" 47 #include "modules/websockets/CloseEvent.h"
49 #include "platform/Logging.h" 48 #include "platform/Logging.h"
50 #include "platform/blob/BlobData.h" 49 #include "platform/blob/BlobData.h"
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 return overhead; 682 return overhead;
684 } 683 }
685 684
686 void WebSocket::trace(Visitor* visitor) 685 void WebSocket::trace(Visitor* visitor)
687 { 686 {
688 visitor->trace(m_channel); 687 visitor->trace(m_channel);
689 visitor->trace(m_eventQueue); 688 visitor->trace(m_eventQueue);
690 } 689 }
691 690
692 } // namespace WebCore 691 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/websockets/CloseEvent.h ('k') | Source/web/WebDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698