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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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
« no previous file with comments | « Source/core/html/ImageData.cpp ('k') | Source/core/html/MediaError.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 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 22 matching lines...) Expand all
33 #include "wtf/RefCounted.h" 33 #include "wtf/RefCounted.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class Clock; 37 class Clock;
38 class ExceptionState; 38 class ExceptionState;
39 class ExecutionContext; 39 class ExecutionContext;
40 class GenericEventQueue; 40 class GenericEventQueue;
41 41
42 class MediaController FINAL : public RefCountedWillBeGarbageCollectedFinalized<M ediaController>, public EventTargetWithInlineData { 42 class MediaController FINAL : public RefCountedWillBeGarbageCollectedFinalized<M ediaController>, public EventTargetWithInlineData {
43 DEFINE_WRAPPERTYPEINFO();
43 REFCOUNTED_EVENT_TARGET(MediaController); 44 REFCOUNTED_EVENT_TARGET(MediaController);
44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaController); 45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaController);
45 public: 46 public:
46 static PassRefPtrWillBeRawPtr<MediaController> create(ExecutionContext*); 47 static PassRefPtrWillBeRawPtr<MediaController> create(ExecutionContext*);
47 virtual ~MediaController(); 48 virtual ~MediaController();
48 49
49 void addMediaElement(HTMLMediaElement*); 50 void addMediaElement(HTMLMediaElement*);
50 void removeMediaElement(HTMLMediaElement*); 51 void removeMediaElement(HTMLMediaElement*);
51 52
52 PassRefPtrWillBeRawPtr<TimeRanges> buffered() const; 53 PassRefPtrWillBeRawPtr<TimeRanges> buffered() const;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 OwnPtrWillBeMember<GenericEventQueue> m_pendingEventsQueue; 126 OwnPtrWillBeMember<GenericEventQueue> m_pendingEventsQueue;
126 mutable Timer<MediaController> m_clearPositionTimer; 127 mutable Timer<MediaController> m_clearPositionTimer;
127 OwnPtr<Clock> m_clock; 128 OwnPtr<Clock> m_clock;
128 RawPtrWillBeWeakMember<ExecutionContext> m_executionContext; 129 RawPtrWillBeWeakMember<ExecutionContext> m_executionContext;
129 Timer<MediaController> m_timeupdateTimer; 130 Timer<MediaController> m_timeupdateTimer;
130 double m_previousTimeupdateTime; 131 double m_previousTimeupdateTime;
131 }; 132 };
132 133
133 } // namespace blink 134 } // namespace blink
134 135
135 #endif 136 #endif // MediaController_h
OLDNEW
« no previous file with comments | « Source/core/html/ImageData.cpp ('k') | Source/core/html/MediaError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698