| OLD | NEW |
| 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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 | 606 |
| 607 // time has not changed since sending an "ended" event | 607 // time has not changed since sending an "ended" event |
| 608 bool m_sentEndEvent : 1; | 608 bool m_sentEndEvent : 1; |
| 609 | 609 |
| 610 bool m_pausedInternal : 1; | 610 bool m_pausedInternal : 1; |
| 611 | 611 |
| 612 // Not all media engines provide enough information about a file to be able
to | 612 // Not all media engines provide enough information about a file to be able
to |
| 613 // support progress events so setting m_sendProgressEvents disables them | 613 // support progress events so setting m_sendProgressEvents disables them |
| 614 bool m_sendProgressEvents : 1; | 614 bool m_sendProgressEvents : 1; |
| 615 | 615 |
| 616 bool m_isFullscreen : 1; | |
| 617 bool m_closedCaptionsVisible : 1; | 616 bool m_closedCaptionsVisible : 1; |
| 618 | 617 |
| 619 bool m_dispatchingCanPlayEvent : 1; | 618 bool m_dispatchingCanPlayEvent : 1; |
| 620 bool m_loadInitiatedByUserGesture : 1; | 619 bool m_loadInitiatedByUserGesture : 1; |
| 621 bool m_completelyLoaded : 1; | 620 bool m_completelyLoaded : 1; |
| 622 bool m_havePreparedToPlay : 1; | 621 bool m_havePreparedToPlay : 1; |
| 623 bool m_parsingInProgress : 1; | 622 bool m_parsingInProgress : 1; |
| 624 | 623 |
| 625 bool m_tracksAreReady : 1; | 624 bool m_tracksAreReady : 1; |
| 626 bool m_haveVisibleTextTrack : 1; | 625 bool m_haveVisibleTextTrack : 1; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 | 682 |
| 684 inline HTMLMediaElement* toMediaElement(Node* node) | 683 inline HTMLMediaElement* toMediaElement(Node* node) |
| 685 { | 684 { |
| 686 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); | 685 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); |
| 687 return static_cast<HTMLMediaElement*>(node); | 686 return static_cast<HTMLMediaElement*>(node); |
| 688 } | 687 } |
| 689 | 688 |
| 690 } //namespace | 689 } //namespace |
| 691 | 690 |
| 692 #endif | 691 #endif |
| OLD | NEW |