| 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 * | 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 MediaControlsPanel, | 66 MediaControlsPanel, |
| 67 MediaVolumeSliderContainer, | 67 MediaVolumeSliderContainer, |
| 68 MediaVolumeSlider, | 68 MediaVolumeSlider, |
| 69 MediaVolumeSliderThumb, | 69 MediaVolumeSliderThumb, |
| 70 MediaVolumeSliderMuteButton, | 70 MediaVolumeSliderMuteButton, |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 HTMLMediaElement* toParentMediaElement(Node*); | 73 HTMLMediaElement* toParentMediaElement(Node*); |
| 74 inline HTMLMediaElement* toParentMediaElement(RenderObject* renderer) { return t
oParentMediaElement(renderer->node()); } | 74 inline HTMLMediaElement* toParentMediaElement(RenderObject* renderer) { return t
oParentMediaElement(renderer->node()); } |
| 75 | 75 |
| 76 MediaControlElementType mediaControlElementType(Node*); |
| 77 |
| 76 // ---------------------------- | 78 // ---------------------------- |
| 77 | 79 |
| 78 class MediaControlElement : public HTMLDivElement { | 80 class MediaControlElement : public HTMLDivElement { |
| 79 public: | 81 public: |
| 80 void hide(); | 82 void hide(); |
| 81 void show(); | 83 void show(); |
| 82 | 84 |
| 83 virtual MediaControlElementType displayType() const = 0; | 85 virtual MediaControlElementType displayType() const = 0; |
| 84 | 86 |
| 85 HTMLMediaElement* mediaElement() const { return m_mediaElement; } | 87 HTMLMediaElement* mediaElement() const { return m_mediaElement; } |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 virtual const AtomicString& shadowPseudoId() const; | 479 virtual const AtomicString& shadowPseudoId() const; |
| 478 }; | 480 }; |
| 479 | 481 |
| 480 // ---------------------------- | 482 // ---------------------------- |
| 481 | 483 |
| 482 } // namespace WebCore | 484 } // namespace WebCore |
| 483 | 485 |
| 484 #endif // ENABLE(VIDEO) | 486 #endif // ENABLE(VIDEO) |
| 485 | 487 |
| 486 #endif // MediaControlElements_h | 488 #endif // MediaControlElements_h |
| OLD | NEW |