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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 }; | 224 }; |
225 | 225 |
226 // ---------------------------- | 226 // ---------------------------- |
227 | 227 |
228 class MediaControlTimelineElement : public MediaControlInputElement { | 228 class MediaControlTimelineElement : public MediaControlInputElement { |
229 public: | 229 public: |
230 static PassRefPtr<MediaControlTimelineElement> create(Document*, MediaContro
ls*); | 230 static PassRefPtr<MediaControlTimelineElement> create(Document*, MediaContro
ls*); |
231 | 231 |
232 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 232 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
233 | 233 |
234 void setPosition(float); | 234 void setPosition(double); |
235 void setDuration(float); | 235 void setDuration(double); |
236 | 236 |
237 private: | 237 private: |
238 explicit MediaControlTimelineElement(Document*, MediaControls*); | 238 explicit MediaControlTimelineElement(Document*, MediaControls*); |
239 | 239 |
240 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 240 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
241 virtual void defaultEventHandler(Event*) OVERRIDE; | 241 virtual void defaultEventHandler(Event*) OVERRIDE; |
242 | 242 |
243 MediaControls* m_controls; | 243 MediaControls* m_controls; |
244 }; | 244 }; |
245 | 245 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 float m_fontSize; | 319 float m_fontSize; |
320 }; | 320 }; |
321 | 321 |
322 #endif | 322 #endif |
323 | 323 |
324 } // namespace WebCore | 324 } // namespace WebCore |
325 | 325 |
326 #endif // ENABLE(VIDEO) | 326 #endif // ENABLE(VIDEO) |
327 | 327 |
328 #endif // MediaControlElements_h | 328 #endif // MediaControlElements_h |
OLD | NEW |