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

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

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 6 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
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | Source/core/html/track/TextTrackCueGeneric.h » ('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 23 matching lines...) Expand all
34 #include "core/html/track/TextTrackCue.h" 34 #include "core/html/track/TextTrackCue.h"
35 35
36 #include "CSSPropertyNames.h" 36 #include "CSSPropertyNames.h"
37 #include "CSSValueKeywords.h" 37 #include "CSSValueKeywords.h"
38 #include "core/dom/DocumentFragment.h" 38 #include "core/dom/DocumentFragment.h"
39 #include "core/dom/Event.h" 39 #include "core/dom/Event.h"
40 #include "core/dom/NodeTraversal.h" 40 #include "core/dom/NodeTraversal.h"
41 #include "core/html/HTMLDivElement.h" 41 #include "core/html/HTMLDivElement.h"
42 #include "core/html/track/TextTrack.h" 42 #include "core/html/track/TextTrack.h"
43 #include "core/html/track/TextTrackCueList.h" 43 #include "core/html/track/TextTrackCueList.h"
44 #include "core/html/track/TextTrackRegionList.h"
45 #include "core/html/track/WebVTTElement.h" 44 #include "core/html/track/WebVTTElement.h"
46 #include "core/html/track/WebVTTParser.h" 45 #include "core/html/track/WebVTTParser.h"
47 #include "core/rendering/RenderTextTrackCue.h" 46 #include "core/rendering/RenderTextTrackCue.h"
48 #include <wtf/MathExtras.h> 47 #include "wtf/MathExtras.h"
49 #include <wtf/text/StringBuilder.h> 48 #include "wtf/text/StringBuilder.h"
50 49
51 namespace WebCore { 50 namespace WebCore {
52 51
53 static const int invalidCueIndex = -1; 52 static const int invalidCueIndex = -1;
54 static const int undefinedPosition = -1; 53 static const int undefinedPosition = -1;
55 static const int autoSize = 0; 54 static const int autoSize = 0;
56 55
57 static const String& startKeyword() 56 static const String& startKeyword()
58 { 57 {
59 DEFINE_STATIC_LOCAL(const String, start, (ASCIILiteral("start"))); 58 DEFINE_STATIC_LOCAL(const String, start, (ASCIILiteral("start")));
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 if (m_cueSize != cue.size()) 1182 if (m_cueSize != cue.size())
1184 return false; 1183 return false;
1185 if (align() != cue.align()) 1184 if (align() != cue.align())
1186 return false; 1185 return false;
1187 1186
1188 return true; 1187 return true;
1189 } 1188 }
1190 1189
1191 } // namespace WebCore 1190 } // namespace WebCore
1192 1191
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | Source/core/html/track/TextTrackCueGeneric.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698