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

Side by Side Diff: Source/core/html/MediaController.h

Issue 302263004: Oilpan: Move [WillBeGarbageCollected] from Node to EventTarget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 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 26 matching lines...) Expand all
37 37
38 class Clock; 38 class Clock;
39 class ExceptionState; 39 class ExceptionState;
40 class ExecutionContext; 40 class ExecutionContext;
41 class GenericEventQueue; 41 class GenericEventQueue;
42 42
43 class MediaController FINAL : public RefCountedWillBeRefCountedGarbageCollected< MediaController>, public ScriptWrappable, public EventTargetWithInlineData { 43 class MediaController FINAL : public RefCountedWillBeRefCountedGarbageCollected< MediaController>, public ScriptWrappable, public EventTargetWithInlineData {
44 REFCOUNTED_EVENT_TARGET(MediaController); 44 REFCOUNTED_EVENT_TARGET(MediaController);
45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaController); 45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaController);
46 public: 46 public:
47 static PassRefPtr<MediaController> create(ExecutionContext*); 47 static PassRefPtrWillBeRawPtr<MediaController> create(ExecutionContext*);
48 virtual ~MediaController(); 48 virtual ~MediaController();
49 49
50 void addMediaElement(HTMLMediaElement*); 50 void addMediaElement(HTMLMediaElement*);
51 void removeMediaElement(HTMLMediaElement*); 51 void removeMediaElement(HTMLMediaElement*);
52 52
53 PassRefPtr<TimeRanges> buffered() const; 53 PassRefPtr<TimeRanges> buffered() const;
54 PassRefPtr<TimeRanges> seekable() const; 54 PassRefPtr<TimeRanges> seekable() const;
55 PassRefPtr<TimeRanges> played(); 55 PassRefPtr<TimeRanges> played();
56 56
57 double duration() const; 57 double duration() const;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 mutable Timer<MediaController> m_clearPositionTimer; 118 mutable Timer<MediaController> m_clearPositionTimer;
119 OwnPtr<Clock> m_clock; 119 OwnPtr<Clock> m_clock;
120 ExecutionContext* m_executionContext; 120 ExecutionContext* m_executionContext;
121 Timer<MediaController> m_timeupdateTimer; 121 Timer<MediaController> m_timeupdateTimer;
122 double m_previousTimeupdateTime; 122 double m_previousTimeupdateTime;
123 }; 123 };
124 124
125 } // namespace WebCore 125 } // namespace WebCore
126 126
127 #endif 127 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698