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

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

Issue 57473002: Remove HTMLMediaElement::m_sendProgressEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 bool m_seeking : 1; 524 bool m_seeking : 1;
525 525
526 // data has not been loaded since sending a "stalled" event 526 // data has not been loaded since sending a "stalled" event
527 bool m_sentStalledEvent : 1; 527 bool m_sentStalledEvent : 1;
528 528
529 // time has not changed since sending an "ended" event 529 // time has not changed since sending an "ended" event
530 bool m_sentEndEvent : 1; 530 bool m_sentEndEvent : 1;
531 531
532 bool m_pausedInternal : 1; 532 bool m_pausedInternal : 1;
533 533
534 // Not all media engines provide enough information about a file to be able to
535 // support progress events so setting m_sendProgressEvents disables them
536 bool m_sendProgressEvents : 1;
537
538 bool m_closedCaptionsVisible : 1; 534 bool m_closedCaptionsVisible : 1;
539 535
540 bool m_loadInitiatedByUserGesture : 1; 536 bool m_loadInitiatedByUserGesture : 1;
541 bool m_completelyLoaded : 1; 537 bool m_completelyLoaded : 1;
542 bool m_havePreparedToPlay : 1; 538 bool m_havePreparedToPlay : 1;
543 bool m_parsingInProgress : 1; 539 bool m_parsingInProgress : 1;
544 540
545 bool m_tracksAreReady : 1; 541 bool m_tracksAreReady : 1;
546 bool m_haveVisibleTextTrack : 1; 542 bool m_haveVisibleTextTrack : 1;
547 bool m_processingPreferenceChange : 1; 543 bool m_processingPreferenceChange : 1;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 inline bool isHTMLMediaElement(const Node& node) 596 inline bool isHTMLMediaElement(const Node& node)
601 { 597 {
602 return node.isElementNode() && toElement(node).isMediaElement(); 598 return node.isElementNode() && toElement(node).isMediaElement();
603 } 599 }
604 600
605 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 601 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
606 602
607 } //namespace 603 } //namespace
608 604
609 #endif 605 #endif
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