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

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

Issue 2137483003: Add UMA metrics for root scroller intervention to track forcing passive breakage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change layout test to a unit test Created 4 years, 5 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 * Copyright (C) 2011 Ericsson AB. All rights reserved. 3 * Copyright (C) 2011 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // EventTarget 81 // EventTarget
82 const AtomicString& interfaceName() const override; 82 const AtomicString& interfaceName() const override;
83 ExecutionContext* getExecutionContext() const override; 83 ExecutionContext* getExecutionContext() const override;
84 84
85 // URLRegistrable 85 // URLRegistrable
86 URLRegistry& registry() const override; 86 URLRegistry& registry() const override;
87 87
88 DECLARE_VIRTUAL_TRACE(); 88 DECLARE_VIRTUAL_TRACE();
89 89
90 protected: 90 protected:
91 bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const AddEventListenerOptions&) override; 91 bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const AddEventListenerOptionsResolved&) override;
92 92
93 private: 93 private:
94 MediaStream(ExecutionContext*, MediaStreamDescriptor*); 94 MediaStream(ExecutionContext*, MediaStreamDescriptor*);
95 MediaStream(ExecutionContext*, const MediaStreamTrackVector& audioTracks, co nst MediaStreamTrackVector& videoTracks); 95 MediaStream(ExecutionContext*, const MediaStreamTrackVector& audioTracks, co nst MediaStreamTrackVector& videoTracks);
96 96
97 // ContextLifecycleObserver 97 // ContextLifecycleObserver
98 void contextDestroyed() override; 98 void contextDestroyed() override;
99 99
100 // MediaStreamDescriptorClient 100 // MediaStreamDescriptorClient
101 void addRemoteTrack(MediaStreamComponent*) override; 101 void addRemoteTrack(MediaStreamComponent*) override;
(...skipping 14 matching lines...) Expand all
116 HeapVector<Member<Event>> m_scheduledEvents; 116 HeapVector<Member<Event>> m_scheduledEvents;
117 }; 117 };
118 118
119 typedef HeapVector<Member<MediaStream>> MediaStreamVector; 119 typedef HeapVector<Member<MediaStream>> MediaStreamVector;
120 120
121 MediaStream* toMediaStream(MediaStreamDescriptor*); 121 MediaStream* toMediaStream(MediaStreamDescriptor*);
122 122
123 } // namespace blink 123 } // namespace blink
124 124
125 #endif // MediaStream_h 125 #endif // MediaStream_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | third_party/WebKit/Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698