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

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

Issue 241113002: Remove some dead code from html/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class ExecutionContext; 43 class ExecutionContext;
44 44
45 class MediaController FINAL : public RefCounted<MediaController>, public ScriptW rappable, public EventTargetWithInlineData { 45 class MediaController FINAL : public RefCounted<MediaController>, public ScriptW rappable, public EventTargetWithInlineData {
46 REFCOUNTED_EVENT_TARGET(MediaController); 46 REFCOUNTED_EVENT_TARGET(MediaController);
47 public: 47 public:
48 static PassRefPtr<MediaController> create(ExecutionContext*); 48 static PassRefPtr<MediaController> create(ExecutionContext*);
49 virtual ~MediaController(); 49 virtual ~MediaController();
50 50
51 void addMediaElement(HTMLMediaElement*); 51 void addMediaElement(HTMLMediaElement*);
52 void removeMediaElement(HTMLMediaElement*); 52 void removeMediaElement(HTMLMediaElement*);
53 bool containsMediaElement(HTMLMediaElement*) const;
54 53
55 PassRefPtr<TimeRanges> buffered() const; 54 PassRefPtr<TimeRanges> buffered() const;
56 PassRefPtr<TimeRanges> seekable() const; 55 PassRefPtr<TimeRanges> seekable() const;
57 PassRefPtr<TimeRanges> played(); 56 PassRefPtr<TimeRanges> played();
58 57
59 double duration() const; 58 double duration() const;
60 double currentTime() const; 59 double currentTime() const;
61 void setCurrentTime(double, ExceptionState&); 60 void setCurrentTime(double, ExceptionState&);
62 61
63 bool paused() const { return m_paused; } 62 bool paused() const { return m_paused; }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 mutable Timer<MediaController> m_clearPositionTimer; 121 mutable Timer<MediaController> m_clearPositionTimer;
123 OwnPtr<Clock> m_clock; 122 OwnPtr<Clock> m_clock;
124 ExecutionContext* m_executionContext; 123 ExecutionContext* m_executionContext;
125 Timer<MediaController> m_timeupdateTimer; 124 Timer<MediaController> m_timeupdateTimer;
126 double m_previousTimeupdateTime; 125 double m_previousTimeupdateTime;
127 }; 126 };
128 127
129 } // namespace WebCore 128 } // namespace WebCore
130 129
131 #endif 130 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698