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

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: Rebase 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/html/shadow/MediaControlElementTypes.cpp ('k') | Source/WebCore/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698