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

Side by Side Diff: Source/modules/mediasource/MediaSource.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 public: 46 public:
47 static const String& openKeyword(); 47 static const String& openKeyword();
48 static const String& closedKeyword(); 48 static const String& closedKeyword();
49 static const String& endedKeyword(); 49 static const String& endedKeyword();
50 50
51 static PassRefPtr<MediaSource> create(ScriptExecutionContext*); 51 static PassRefPtr<MediaSource> create(ScriptExecutionContext*);
52 virtual ~MediaSource() { } 52 virtual ~MediaSource() { }
53 53
54 virtual void trace(Visitor*) { } 54 virtual void trace(Visitor*) { }
55 55
56 virtual void visitWith(Visitor* visitor) const OVERRIDE 56 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
57 { 57 {
58 visitor->visit(this); 58 visitor->mark(this);
59 } 59 }
60 60
61 // MediaSource.idl methods 61 // MediaSource.idl methods
62 SourceBufferList* sourceBuffers(); 62 SourceBufferList* sourceBuffers();
63 SourceBufferList* activeSourceBuffers(); 63 SourceBufferList* activeSourceBuffers();
64 double duration() const; 64 double duration() const;
65 void setDuration(double, ExceptionCode&); 65 void setDuration(double, ExceptionCode&);
66 SourceBuffer* addSourceBuffer(const String& type, ExceptionCode&); 66 SourceBuffer* addSourceBuffer(const String& type, ExceptionCode&);
67 void removeSourceBuffer(SourceBuffer*, ExceptionCode&); 67 void removeSourceBuffer(SourceBuffer*, ExceptionCode&);
68 const String& readyState() const; 68 const String& readyState() const;
(...skipping 28 matching lines...) Expand all
97 OwnPtr<MediaSourcePrivate> m_private; 97 OwnPtr<MediaSourcePrivate> m_private;
98 98
99 RefPtr<SourceBufferList> m_sourceBuffers; 99 RefPtr<SourceBufferList> m_sourceBuffers;
100 RefPtr<SourceBufferList> m_activeSourceBuffers; 100 RefPtr<SourceBufferList> m_activeSourceBuffers;
101 OwnPtr<GenericEventQueue> m_asyncEventQueue; 101 OwnPtr<GenericEventQueue> m_asyncEventQueue;
102 }; 102 };
103 103
104 } // namespace WebCore 104 } // namespace WebCore
105 105
106 #endif 106 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698