| 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 |   5  * modification, are permitted provided that the following conditions | 
|   6  * are met: |   6  * are met: | 
|   7  * 1.  Redistributions of source code must retain the above copyright |   7  * 1.  Redistributions of source code must retain the above copyright | 
|   8  *     notice, this list of conditions and the following disclaimer. |   8  *     notice, this list of conditions and the following disclaimer. | 
|   9  * 2.  Redistributions in binary form must reproduce the above copyright |   9  * 2.  Redistributions in binary form must reproduce the above copyright | 
|  10  *     notice, this list of conditions and the following disclaimer in the |  10  *     notice, this list of conditions and the following disclaimer in the | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
|  30 #include "modules/mediastream/MediaStreamEventInit.h" |  30 #include "modules/mediastream/MediaStreamEventInit.h" | 
|  31 #include "wtf/text/AtomicString.h" |  31 #include "wtf/text/AtomicString.h" | 
|  32  |  32  | 
|  33 namespace blink { |  33 namespace blink { | 
|  34  |  34  | 
|  35 class MediaStreamEvent final : public Event { |  35 class MediaStreamEvent final : public Event { | 
|  36     DEFINE_WRAPPERTYPEINFO(); |  36     DEFINE_WRAPPERTYPEINFO(); | 
|  37 public: |  37 public: | 
|  38     ~MediaStreamEvent() override; |  38     ~MediaStreamEvent() override; | 
|  39  |  39  | 
|  40     static MediaStreamEvent* create(const AtomicString& type, bool canBubble, bo
    ol cancelable, MediaStream*); |  40     static MediaStreamEvent* create(const AtomicString& type, MediaStream*); | 
|  41     static MediaStreamEvent* create(const AtomicString& type, const MediaStreamE
    ventInit& initializer); |  41     static MediaStreamEvent* create(const AtomicString& type, const MediaStreamE
    ventInit& initializer); | 
|  42  |  42  | 
|  43     MediaStream* stream() const; |  43     MediaStream* stream() const; | 
|  44     MediaStream* stream(bool&) const; |  44     MediaStream* stream(bool&) const; | 
|  45  |  45  | 
|  46     const AtomicString& interfaceName() const override; |  46     const AtomicString& interfaceName() const override; | 
|  47  |  47  | 
|  48     DECLARE_VIRTUAL_TRACE(); |  48     DECLARE_VIRTUAL_TRACE(); | 
|  49  |  49  | 
|  50 private: |  50 private: | 
|  51     MediaStreamEvent(const AtomicString& type, bool canBubble, bool cancelable, 
    MediaStream*); |  51     MediaStreamEvent(const AtomicString& type, MediaStream*); | 
|  52     MediaStreamEvent(const AtomicString& type, const MediaStreamEventInit&); |  52     MediaStreamEvent(const AtomicString& type, const MediaStreamEventInit&); | 
|  53  |  53  | 
|  54     Member<MediaStream> m_stream; |  54     Member<MediaStream> m_stream; | 
|  55 }; |  55 }; | 
|  56  |  56  | 
|  57 } // namespace blink |  57 } // namespace blink | 
|  58  |  58  | 
|  59 #endif // MediaStreamEvent_h |  59 #endif // MediaStreamEvent_h | 
| OLD | NEW |