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

Side by Side Diff: Source/core/html/track/TextTrackList.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
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | Source/core/html/track/TrackBase.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 DECLARE_GC_INFO 47 DECLARE_GC_INFO
48 public: 48 public:
49 static PassRefPtr<TextTrackList> create(HTMLMediaElement* owner, ScriptExecu tionContext* context) 49 static PassRefPtr<TextTrackList> create(HTMLMediaElement* owner, ScriptExecu tionContext* context)
50 { 50 {
51 return adoptRef(new TextTrackList(owner, context)); 51 return adoptRef(new TextTrackList(owner, context));
52 } 52 }
53 ~TextTrackList(); 53 ~TextTrackList();
54 54
55 virtual void trace(Visitor*) { } 55 virtual void trace(Visitor*) { }
56 56
57 virtual void visitWith(Visitor* visitor) const OVERRIDE 57 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
58 { 58 {
59 visitor->visit(this); 59 visitor->mark(this);
60 } 60 }
61 61
62 unsigned length() const; 62 unsigned length() const;
63 int getTrackIndex(TextTrack*); 63 int getTrackIndex(TextTrack*);
64 int getTrackIndexRelativeToRenderedTracks(TextTrack*); 64 int getTrackIndexRelativeToRenderedTracks(TextTrack*);
65 bool contains(TextTrack*) const; 65 bool contains(TextTrack*) const;
66 66
67 TextTrack* item(unsigned index); 67 TextTrack* item(unsigned index);
68 void append(PassRefPtr<TextTrack>); 68 void append(PassRefPtr<TextTrack>);
69 void remove(TextTrack*); 69 void remove(TextTrack*);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 Vector<RefPtr<TextTrack> > m_addTrackTracks; 107 Vector<RefPtr<TextTrack> > m_addTrackTracks;
108 Vector<RefPtr<TextTrack> > m_elementTracks; 108 Vector<RefPtr<TextTrack> > m_elementTracks;
109 Vector<RefPtr<TextTrack> > m_inbandTracks; 109 Vector<RefPtr<TextTrack> > m_inbandTracks;
110 110
111 int m_dispatchingEvents; 111 int m_dispatchingEvents;
112 }; 112 };
113 113
114 } // namespace WebCore 114 } // namespace WebCore
115 115
116 #endif 116 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | Source/core/html/track/TrackBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698