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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 }; | 148 }; |
149 | 149 |
150 // ---------------------------- | 150 // ---------------------------- |
151 | 151 |
152 class MediaControlTimelineElement FINAL : public MediaControlInputElement { | 152 class MediaControlTimelineElement FINAL : public MediaControlInputElement { |
153 public: | 153 public: |
154 static PassRefPtr<MediaControlTimelineElement> create(MediaControls&); | 154 static PassRefPtr<MediaControlTimelineElement> create(MediaControls&); |
155 | 155 |
156 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 156 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
157 | 157 |
| 158 // FIXME: An "earliest possible position" will be needed once that concept |
| 159 // is supported by HTMLMediaElement, see https://crbug.com/137275 |
158 void setPosition(double); | 160 void setPosition(double); |
159 void setDuration(double); | 161 void setDuration(double); |
160 | 162 |
161 private: | 163 private: |
162 explicit MediaControlTimelineElement(MediaControls&); | 164 explicit MediaControlTimelineElement(MediaControls&); |
163 | 165 |
164 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 166 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
165 virtual void defaultEventHandler(Event*) OVERRIDE; | 167 virtual void defaultEventHandler(Event*) OVERRIDE; |
166 }; | 168 }; |
167 | 169 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 240 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
239 | 241 |
240 IntRect m_videoDisplaySize; | 242 IntRect m_videoDisplaySize; |
241 float m_fontSize; | 243 float m_fontSize; |
242 }; | 244 }; |
243 | 245 |
244 | 246 |
245 } // namespace WebCore | 247 } // namespace WebCore |
246 | 248 |
247 #endif // MediaControlElements_h | 249 #endif // MediaControlElements_h |
OLD | NEW |