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

Side by Side Diff: third_party/WebKit/Source/core/events/MessageEvent.h

Issue 2818083002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of core/. (Closed)
Patch Set: Rebase. Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Henry Mason (hmason@mac.com) 2 * Copyright (C) 2007 Henry Mason (hmason@mac.com)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 11 matching lines...) Expand all
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 * 26 *
27 */ 27 */
28 28
29 #ifndef MessageEvent_h 29 #ifndef MessageEvent_h
30 #define MessageEvent_h 30 #define MessageEvent_h
31 31
32 #include <memory>
32 #include "bindings/core/v8/SerializedScriptValue.h" 33 #include "bindings/core/v8/SerializedScriptValue.h"
33 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
34 #include "core/dom/DOMArrayBuffer.h" 35 #include "core/dom/DOMArrayBuffer.h"
35 #include "core/dom/MessagePort.h" 36 #include "core/dom/MessagePort.h"
36 #include "core/events/Event.h" 37 #include "core/events/Event.h"
37 #include "core/events/EventTarget.h" 38 #include "core/events/EventTarget.h"
38 #include "core/events/MessageEventInit.h" 39 #include "core/events/MessageEventInit.h"
39 #include "core/fileapi/Blob.h" 40 #include "core/fileapi/Blob.h"
40 #include "wtf/Compiler.h" 41 #include "platform/wtf/Compiler.h"
41 #include <memory>
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class CORE_EXPORT MessageEvent final : public Event { 45 class CORE_EXPORT MessageEvent final : public Event {
46 DEFINE_WRAPPERTYPEINFO(); 46 DEFINE_WRAPPERTYPEINFO();
47 47
48 public: 48 public:
49 static MessageEvent* Create() { return new MessageEvent; } 49 static MessageEvent* Create() { return new MessageEvent; }
50 static MessageEvent* Create(MessagePortArray* ports, 50 static MessageEvent* Create(MessagePortArray* ports,
51 const String& origin = String(), 51 const String& origin = String(),
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // the MessageChannels in a disentangled state. Only one of them can be 213 // the MessageChannels in a disentangled state. Only one of them can be
214 // non-empty at a time. entangleMessagePorts() moves between the states. 214 // non-empty at a time. entangleMessagePorts() moves between the states.
215 Member<MessagePortArray> ports_; 215 Member<MessagePortArray> ports_;
216 MessagePortChannelArray channels_; 216 MessagePortChannelArray channels_;
217 String suborigin_; 217 String suborigin_;
218 }; 218 };
219 219
220 } // namespace blink 220 } // namespace blink
221 221
222 #endif // MessageEvent_h 222 #endif // MessageEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/KeyboardEvent.cpp ('k') | third_party/WebKit/Source/core/events/NavigatorEvents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698