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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 }; | 328 }; |
329 | 329 |
330 // ---------------------------- | 330 // ---------------------------- |
331 | 331 |
332 class MediaControlTimelineElement : public MediaControlInputElement { | 332 class MediaControlTimelineElement : public MediaControlInputElement { |
333 public: | 333 public: |
334 static PassRefPtr<MediaControlTimelineElement> create(Document*, MediaContro
ls*); | 334 static PassRefPtr<MediaControlTimelineElement> create(Document*, MediaContro
ls*); |
335 | 335 |
336 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 336 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
337 | 337 |
338 void setPosition(float); | 338 void setPosition(double); |
339 void setDuration(float); | 339 void setDuration(double); |
340 | 340 |
341 private: | 341 private: |
342 explicit MediaControlTimelineElement(Document*, MediaControls*); | 342 explicit MediaControlTimelineElement(Document*, MediaControls*); |
343 | 343 |
344 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 344 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
345 virtual void defaultEventHandler(Event*) OVERRIDE; | 345 virtual void defaultEventHandler(Event*) OVERRIDE; |
346 | 346 |
347 MediaControls* m_controls; | 347 MediaControls* m_controls; |
348 }; | 348 }; |
349 | 349 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 float m_fontSize; | 463 float m_fontSize; |
464 }; | 464 }; |
465 | 465 |
466 #endif | 466 #endif |
467 | 467 |
468 } // namespace WebCore | 468 } // namespace WebCore |
469 | 469 |
470 #endif // ENABLE(VIDEO) | 470 #endif // ENABLE(VIDEO) |
471 | 471 |
472 #endif // MediaControlElements_h | 472 #endif // MediaControlElements_h |
OLD | NEW |