| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // layout when the media controls become visible, to avoid overlapping them. | 45 // layout when the media controls become visible, to avoid overlapping them. |
| 46 enum ExposingControls { | 46 enum ExposingControls { |
| 47 DidNotStartExposingControls, | 47 DidNotStartExposingControls, |
| 48 DidStartExposingControls | 48 DidStartExposingControls |
| 49 }; | 49 }; |
| 50 void updateDisplay(HTMLMediaElement&, ExposingControls); | 50 void updateDisplay(HTMLMediaElement&, ExposingControls); |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 TextTrackContainer(Document&); | 53 TextTrackContainer(Document&); |
| 54 | 54 |
| 55 virtual bool isTextTrackContainer() const override { return true; } | 55 bool isTextTrackContainer() const override { return true; } |
| 56 | 56 |
| 57 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 57 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 DEFINE_ELEMENT_TYPE_CASTS(TextTrackContainer, isTextTrackContainer()); | 60 DEFINE_ELEMENT_TYPE_CASTS(TextTrackContainer, isTextTrackContainer()); |
| 61 | 61 |
| 62 } // namespace blink | 62 } // namespace blink |
| 63 | 63 |
| 64 #endif // TextTrackContainer_h | 64 #endif // TextTrackContainer_h |
| OLD | NEW |