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

Side by Side Diff: Source/core/html/track/TextTrackCue.cpp

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.cpp ('k') | Source/core/html/track/TextTrackList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 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 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 std::pair<double, double> TextTrackCue::getCSSPosition() const 1198 std::pair<double, double> TextTrackCue::getCSSPosition() const
1199 { 1199 {
1200 if (!m_snapToLines) 1200 if (!m_snapToLines)
1201 return getPositionCoordinates(); 1201 return getPositionCoordinates();
1202 1202
1203 return m_displayPosition; 1203 return m_displayPosition;
1204 } 1204 }
1205 1205
1206 const AtomicString& TextTrackCue::interfaceName() const 1206 const AtomicString& TextTrackCue::interfaceName() const
1207 { 1207 {
1208 return eventNames().interfaceForTextTrackCue; 1208 return EventTargetNames::TextTrackCue;
1209 } 1209 }
1210 1210
1211 ExecutionContext* TextTrackCue::executionContext() const 1211 ExecutionContext* TextTrackCue::executionContext() const
1212 { 1212 {
1213 return m_executionContext; 1213 return m_executionContext;
1214 } 1214 }
1215 1215
1216 bool TextTrackCue::operator==(const TextTrackCue& cue) const 1216 bool TextTrackCue::operator==(const TextTrackCue& cue) const
1217 { 1217 {
1218 if (cueType() != cue.cueType()) 1218 if (cueType() != cue.cueType())
(...skipping 15 matching lines...) Expand all
1234 return false; 1234 return false;
1235 if (m_cueSize != cue.size()) 1235 if (m_cueSize != cue.size())
1236 return false; 1236 return false;
1237 if (align() != cue.align()) 1237 if (align() != cue.align())
1238 return false; 1238 return false;
1239 1239
1240 return true; 1240 return true;
1241 } 1241 }
1242 1242
1243 } // namespace WebCore 1243 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.cpp ('k') | Source/core/html/track/TextTrackList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698