Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Side by Side Diff: Source/WebCore/html/shadow/MediaControlElements.h

Issue 13454026: Update all float attributes in HTMLMediaElement and related objects to double (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change WebMediaPlayer to only have the xxxFloat methods. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698