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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class RTCDTMFSenderHandler; 43 class RTCDTMFSenderHandler;
44 44
45 class RTCDTMFSender : public RefCountedGarbageCollected<RTCDTMFSender>, public E ventTarget, public RTCDTMFSenderHandlerClient, public ActiveDOMObject { 45 class RTCDTMFSender : public RefCountedGarbageCollected<RTCDTMFSender>, public E ventTarget, public RTCDTMFSenderHandlerClient, public ActiveDOMObject {
46 DECLARE_GC_INFO 46 DECLARE_GC_INFO
47 public: 47 public:
48 static PassRefPtr<RTCDTMFSender> create(ScriptExecutionContext*, RTCPeerConn ectionHandler*, PassRefPtr<MediaStreamTrack>, ExceptionCode&); 48 static PassRefPtr<RTCDTMFSender> create(ScriptExecutionContext*, RTCPeerConn ectionHandler*, PassRefPtr<MediaStreamTrack>, ExceptionCode&);
49 ~RTCDTMFSender(); 49 ~RTCDTMFSender();
50 50
51 virtual void trace(Visitor*) { } 51 virtual void trace(Visitor*) { }
52 52
53 virtual void visitWith(Visitor* visitor) const OVERRIDE 53 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
54 { 54 {
55 visitor->visit(this); 55 visitor->mark(this);
56 } 56 }
57 57
58 bool canInsertDTMF() const; 58 bool canInsertDTMF() const;
59 MediaStreamTrack* track() const; 59 MediaStreamTrack* track() const;
60 String toneBuffer() const; 60 String toneBuffer() const;
61 long duration() const { return m_duration; } 61 long duration() const { return m_duration; }
62 long interToneGap() const { return m_interToneGap; } 62 long interToneGap() const { return m_interToneGap; }
63 63
64 void insertDTMF(const String& tones, ExceptionCode&); 64 void insertDTMF(const String& tones, ExceptionCode&);
65 void insertDTMF(const String& tones, long duration, ExceptionCode&); 65 void insertDTMF(const String& tones, long duration, ExceptionCode&);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 Timer<RTCDTMFSender> m_scheduledEventTimer; 102 Timer<RTCDTMFSender> m_scheduledEventTimer;
103 Vector<RefPtr<Event> > m_scheduledEvents; 103 Vector<RefPtr<Event> > m_scheduledEvents;
104 }; 104 };
105 105
106 } // namespace WebCore 106 } // namespace WebCore
107 107
108 #endif // ENABLE(MEDIA_STREAM) 108 #endif // ENABLE(MEDIA_STREAM)
109 109
110 #endif // RTCDTMFSender_h 110 #endif // RTCDTMFSender_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrack.h ('k') | Source/modules/mediastream/RTCDataChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698