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

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

Issue 578113002: Add back HTMLMediaElement::m_lastTimeUpdateEventMovieTime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: the fix 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 | « no previous file | Source/core/html/HTMLMediaElement.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) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 double m_lastSeekTime; 501 double m_lastSeekTime;
502 502
503 double m_previousProgressTime; 503 double m_previousProgressTime;
504 504
505 // Cached duration to suppress duplicate events if duration unchanged. 505 // Cached duration to suppress duplicate events if duration unchanged.
506 double m_duration; 506 double m_duration;
507 507
508 // The last time a timeupdate event was sent (wall clock). 508 // The last time a timeupdate event was sent (wall clock).
509 double m_lastTimeUpdateEventWallTime; 509 double m_lastTimeUpdateEventWallTime;
510 510
511 // The last time a timeupdate event was sent in movie time.
512 double m_lastTimeUpdateEventMovieTime;
513
511 // The default playback start position. 514 // The default playback start position.
512 double m_defaultPlaybackStartPosition; 515 double m_defaultPlaybackStartPosition;
513 516
514 // Loading state. 517 // Loading state.
515 enum LoadState { WaitingForSource, LoadingFromSrcAttr, LoadingFromSourceElem ent }; 518 enum LoadState { WaitingForSource, LoadingFromSrcAttr, LoadingFromSourceElem ent };
516 LoadState m_loadState; 519 LoadState m_loadState;
517 RefPtrWillBeMember<HTMLSourceElement> m_currentSourceNode; 520 RefPtrWillBeMember<HTMLSourceElement> m_currentSourceNode;
518 RefPtrWillBeMember<Node> m_nextChildNodeToConsider; 521 RefPtrWillBeMember<Node> m_nextChildNodeToConsider;
519 522
520 // "Deferred loading" state (for preload=none). 523 // "Deferred loading" state (for preload=none).
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 inline bool isHTMLMediaElement(const HTMLElement& element) 638 inline bool isHTMLMediaElement(const HTMLElement& element)
636 { 639 {
637 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 640 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
638 } 641 }
639 642
640 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 643 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
641 644
642 } // namespace blink 645 } // namespace blink
643 646
644 #endif // HTMLMediaElement_h 647 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698