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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Fix typo 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) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class MediaStreamComponent; 44 class MediaStreamComponent;
45 45
46 class MediaStreamTrack : public RefCountedGarbageCollected<MediaStreamTrack>, pu blic ActiveDOMObject, public EventTarget, public MediaStreamSource::Observer { 46 class MediaStreamTrack : public RefCountedGarbageCollected<MediaStreamTrack>, pu blic ActiveDOMObject, public EventTarget, public MediaStreamSource::Observer {
47 DECLARE_GC_INFO 47 DECLARE_GC_INFO
48 public: 48 public:
49 static PassRefPtr<MediaStreamTrack> create(ScriptExecutionContext*, MediaStr eamComponent*); 49 static PassRefPtr<MediaStreamTrack> create(ScriptExecutionContext*, MediaStr eamComponent*);
50 virtual ~MediaStreamTrack(); 50 virtual ~MediaStreamTrack();
51 51
52 virtual void trace(Visitor*) { } 52 virtual void trace(Visitor*) { }
53 53
54 virtual void visitWith(Visitor* visitor) const OVERRIDE 54 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
55 { 55 {
56 visitor->visit(this); 56 visitor->mark(this);
57 } 57 }
58 58
59 String kind() const; 59 String kind() const;
60 String id() const; 60 String id() const;
61 String label() const; 61 String label() const;
62 62
63 bool enabled() const; 63 bool enabled() const;
64 void setEnabled(bool); 64 void setEnabled(bool);
65 65
66 void didEndTrack(); 66 void didEndTrack();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 RefPtr<MediaStreamComponent> m_component; 99 RefPtr<MediaStreamComponent> m_component;
100 }; 100 };
101 101
102 typedef Vector<RefPtr<MediaStreamTrack> > MediaStreamTrackVector; 102 typedef Vector<RefPtr<MediaStreamTrack> > MediaStreamTrackVector;
103 103
104 } // namespace WebCore 104 } // namespace WebCore
105 105
106 #endif // ENABLE(MEDIA_STREAM) 106 #endif // ENABLE(MEDIA_STREAM)
107 107
108 #endif // MediaStreamTrack_h 108 #endif // MediaStreamTrack_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698