| OLD | NEW |
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 public: | 51 public: |
| 52 BLINK_EXPORT WebDOMMessageEvent(const WebSerializedScriptValue& messageData,
const WebString& origin = WebString(), const WebFrame* sourceFrame = nullptr, c
onst WebDocument& targetDocument = WebDocument(), const WebMessagePortChannelArr
ay& channels = WebMessagePortChannelArray()); | 52 BLINK_EXPORT WebDOMMessageEvent(const WebSerializedScriptValue& messageData,
const WebString& origin = WebString(), const WebFrame* sourceFrame = nullptr, c
onst WebDocument& targetDocument = WebDocument(), const WebMessagePortChannelArr
ay& channels = WebMessagePortChannelArray()); |
| 53 WebDOMMessageEvent() { } | 53 WebDOMMessageEvent() { } |
| 54 | 54 |
| 55 BLINK_EXPORT WebSerializedScriptValue data() const; | 55 BLINK_EXPORT WebSerializedScriptValue data() const; |
| 56 BLINK_EXPORT WebString origin() const; | 56 BLINK_EXPORT WebString origin() const; |
| 57 | 57 |
| 58 BLINK_EXPORT WebMessagePortChannelArray releaseChannels(); | 58 BLINK_EXPORT WebMessagePortChannelArray releaseChannels(); |
| 59 | 59 |
| 60 #if BLINK_IMPLEMENTATION | 60 #if BLINK_IMPLEMENTATION |
| 61 explicit WebDOMMessageEvent(const RawPtr<MessageEvent>& e) : WebDOMEvent(e)
{ } | 61 explicit WebDOMMessageEvent(MessageEvent* e) : WebDOMEvent(e) { } |
| 62 #endif | 62 #endif |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace blink | 65 } // namespace blink |
| 66 | 66 |
| 67 #endif | 67 #endif |
| OLD | NEW |