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

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

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/LinkResource.cpp ('k') | Source/core/html/MediaController.cpp » ('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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 enum PlaybackState { WAITING, PLAYING, ENDED }; 80 enum PlaybackState { WAITING, PLAYING, ENDED };
81 const AtomicString& playbackState() const; 81 const AtomicString& playbackState() const;
82 82
83 bool isRestrained() const; 83 bool isRestrained() const;
84 bool isBlocked() const; 84 bool isBlocked() const;
85 85
86 #if !ENABLE(OILPAN) 86 #if !ENABLE(OILPAN)
87 void clearExecutionContext() { m_executionContext = nullptr; } 87 void clearExecutionContext() { m_executionContext = nullptr; }
88 #endif 88 #endif
89 89
90 virtual void trace(Visitor*) override; 90 DECLARE_VIRTUAL_TRACE();
91 91
92 private: 92 private:
93 MediaController(ExecutionContext*); 93 MediaController(ExecutionContext*);
94 void reportControllerState(); 94 void reportControllerState();
95 void updateReadyState(); 95 void updateReadyState();
96 void updatePlaybackState(); 96 void updatePlaybackState();
97 void updateMediaElements(); 97 void updateMediaElements();
98 void bringElementUpToSpeed(HTMLMediaElement*); 98 void bringElementUpToSpeed(HTMLMediaElement*);
99 void scheduleEvent(const AtomicString& eventName); 99 void scheduleEvent(const AtomicString& eventName);
100 void clearPositionTimerFired(Timer<MediaController>*); 100 void clearPositionTimerFired(Timer<MediaController>*);
(...skipping 25 matching lines...) Expand all
126 mutable Timer<MediaController> m_clearPositionTimer; 126 mutable Timer<MediaController> m_clearPositionTimer;
127 OwnPtr<Clock> m_clock; 127 OwnPtr<Clock> m_clock;
128 RawPtrWillBeWeakMember<ExecutionContext> m_executionContext; 128 RawPtrWillBeWeakMember<ExecutionContext> m_executionContext;
129 Timer<MediaController> m_timeupdateTimer; 129 Timer<MediaController> m_timeupdateTimer;
130 double m_previousTimeupdateTime; 130 double m_previousTimeupdateTime;
131 }; 131 };
132 132
133 } // namespace blink 133 } // namespace blink
134 134
135 #endif // MediaController_h 135 #endif // MediaController_h
OLDNEW
« no previous file with comments | « Source/core/html/LinkResource.cpp ('k') | Source/core/html/MediaController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698