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

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

Issue 66643004: Remove QualifiedName argument from most HTMLElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hack for XML prefix Created 7 years, 1 month 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
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 static const String& verticalGrowingRightKeyword() 110 static const String& verticalGrowingRightKeyword()
111 { 111 {
112 DEFINE_STATIC_LOCAL(const String, verticallr, ("lr")); 112 DEFINE_STATIC_LOCAL(const String, verticallr, ("lr"));
113 return verticallr; 113 return verticallr;
114 } 114 }
115 115
116 // ---------------------------- 116 // ----------------------------
117 117
118 TextTrackCueBox::TextTrackCueBox(Document& document, TextTrackCue* cue) 118 TextTrackCueBox::TextTrackCueBox(Document& document, TextTrackCue* cue)
119 : HTMLDivElement(divTag, document) 119 : HTMLDivElement(document)
120 , m_cue(cue) 120 , m_cue(cue)
121 { 121 {
122 setPart(textTrackCueBoxShadowPseudoId()); 122 setPart(textTrackCueBoxShadowPseudoId());
123 } 123 }
124 124
125 TextTrackCue* TextTrackCueBox::getCue() const 125 TextTrackCue* TextTrackCueBox::getCue() const
126 { 126 {
127 return m_cue; 127 return m_cue;
128 } 128 }
129 129
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 return false; 1224 return false;
1225 if (m_cueSize != cue.size()) 1225 if (m_cueSize != cue.size())
1226 return false; 1226 return false;
1227 if (align() != cue.align()) 1227 if (align() != cue.align())
1228 return false; 1228 return false;
1229 1229
1230 return true; 1230 return true;
1231 } 1231 }
1232 1232
1233 } // namespace WebCore 1233 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698