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

Side by Side Diff: Source/WebCore/html/track/TextTrackCue.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2012, 2013 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void setRegionId(const String&); 140 void setRegionId(const String&);
141 #endif 141 #endif
142 142
143 bool isActive(); 143 bool isActive();
144 void setIsActive(bool); 144 void setIsActive(bool);
145 145
146 bool hasDisplayTree() const { return m_displayTree; } 146 bool hasDisplayTree() const { return m_displayTree; }
147 PassRefPtr<TextTrackCueBox> getDisplayTree(const IntSize& videoSize); 147 PassRefPtr<TextTrackCueBox> getDisplayTree(const IntSize& videoSize);
148 PassRefPtr<HTMLDivElement> element() const { return m_cueBackgroundBox; } 148 PassRefPtr<HTMLDivElement> element() const { return m_cueBackgroundBox; }
149 149
150 void updateDisplayTree(float); 150 void updateDisplayTree(double);
151 void removeDisplayTree(); 151 void removeDisplayTree();
152 void markFutureAndPastNodes(ContainerNode*, double, double); 152 void markFutureAndPastNodes(ContainerNode*, double, double);
153 153
154 int calculateComputedLinePosition(); 154 int calculateComputedLinePosition();
155 155
156 virtual const AtomicString& interfaceName() const; 156 virtual const AtomicString& interfaceName() const;
157 virtual ScriptExecutionContext* scriptExecutionContext() const; 157 virtual ScriptExecutionContext* scriptExecutionContext() const;
158 158
159 std::pair<double, double> getCSSPosition() const; 159 std::pair<double, double> getCSSPosition() const;
160 160
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 std::pair<float, float> m_displayPosition; 277 std::pair<float, float> m_displayPosition;
278 #if ENABLE(WEBVTT_REGIONS) 278 #if ENABLE(WEBVTT_REGIONS)
279 String m_regionId; 279 String m_regionId;
280 #endif 280 #endif
281 }; 281 };
282 282
283 } // namespace WebCore 283 } // namespace WebCore
284 284
285 #endif 285 #endif
286 #endif 286 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698