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

Side by Side Diff: Source/modules/mediastream/RTCDTMFSender.cpp

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 es.throwUninformativeAndGenericDOMException(SyntaxError); 122 es.throwUninformativeAndGenericDOMException(SyntaxError);
123 } 123 }
124 124
125 void RTCDTMFSender::didPlayTone(const String& tone) 125 void RTCDTMFSender::didPlayTone(const String& tone)
126 { 126 {
127 scheduleDispatchEvent(RTCDTMFToneChangeEvent::create(tone)); 127 scheduleDispatchEvent(RTCDTMFToneChangeEvent::create(tone));
128 } 128 }
129 129
130 const AtomicString& RTCDTMFSender::interfaceName() const 130 const AtomicString& RTCDTMFSender::interfaceName() const
131 { 131 {
132 return eventNames().interfaceForRTCDTMFSender; 132 return EventTargetNames::RTCDTMFSender;
133 } 133 }
134 134
135 ExecutionContext* RTCDTMFSender::executionContext() const 135 ExecutionContext* RTCDTMFSender::executionContext() const
136 { 136 {
137 return ActiveDOMObject::executionContext(); 137 return ActiveDOMObject::executionContext();
138 } 138 }
139 139
140 void RTCDTMFSender::stop() 140 void RTCDTMFSender::stop()
141 { 141 {
142 m_stopped = true; 142 m_stopped = true;
(...skipping 15 matching lines...) Expand all
158 158
159 Vector<RefPtr<Event> > events; 159 Vector<RefPtr<Event> > events;
160 events.swap(m_scheduledEvents); 160 events.swap(m_scheduledEvents);
161 161
162 Vector<RefPtr<Event> >::iterator it = events.begin(); 162 Vector<RefPtr<Event> >::iterator it = events.begin();
163 for (; it != events.end(); ++it) 163 for (; it != events.end(); ++it)
164 dispatchEvent((*it).release()); 164 dispatchEvent((*it).release());
165 } 165 }
166 166
167 } // namespace WebCore 167 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrackEvent.cpp ('k') | Source/modules/mediastream/RTCDTMFToneChangeEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698