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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaStreamEvent.h

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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) 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
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();
41 static MediaStreamEvent* create(const AtomicString& type, bool canBubble, bo ol cancelable, MediaStream*); 40 static MediaStreamEvent* create(const AtomicString& type, bool canBubble, bo ol cancelable, MediaStream*);
42 static MediaStreamEvent* create(const AtomicString& type, const MediaStreamE ventInit& initializer); 41 static MediaStreamEvent* create(const AtomicString& type, const MediaStreamE ventInit& initializer);
43 42
44 MediaStream* stream() const; 43 MediaStream* stream() const;
45 MediaStream* stream(bool&) const; 44 MediaStream* stream(bool&) const;
46 45
47 const AtomicString& interfaceName() const override; 46 const AtomicString& interfaceName() const override;
48 47
49 DECLARE_VIRTUAL_TRACE(); 48 DECLARE_VIRTUAL_TRACE();
50 49
51 private: 50 private:
52 MediaStreamEvent();
53 MediaStreamEvent(const AtomicString& type, bool canBubble, bool cancelable, MediaStream*); 51 MediaStreamEvent(const AtomicString& type, bool canBubble, bool cancelable, MediaStream*);
54 MediaStreamEvent(const AtomicString& type, const MediaStreamEventInit&); 52 MediaStreamEvent(const AtomicString& type, const MediaStreamEventInit&);
55 53
56 Member<MediaStream> m_stream; 54 Member<MediaStream> m_stream;
57 }; 55 };
58 56
59 } // namespace blink 57 } // namespace blink
60 58
61 #endif // MediaStreamEvent_h 59 #endif // MediaStreamEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698