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

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

Issue 18512011: core/html: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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/track/TextTrackRegion.h ('k') | Source/core/html/track/TextTrackRegionList.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "core/html/track/TextTrackRegion.h" 35 #include "core/html/track/TextTrackRegion.h"
36 36
37 #include "core/dom/ClientRect.h" 37 #include "core/dom/ClientRect.h"
38 #include "core/dom/ExceptionCodePlaceholder.h" 38 #include "core/dom/ExceptionCodePlaceholder.h"
39 #include "core/html/DOMTokenList.h" 39 #include "core/html/DOMTokenList.h"
40 #include "core/html/HTMLDivElement.h" 40 #include "core/html/HTMLDivElement.h"
41 #include "core/html/track/WebVTTParser.h" 41 #include "core/html/track/WebVTTParser.h"
42 #include "core/platform/Logging.h" 42 #include "core/platform/Logging.h"
43 #include "core/rendering/RenderInline.h" 43 #include "core/rendering/RenderInline.h"
44 #include "core/rendering/RenderObject.h" 44 #include "core/rendering/RenderObject.h"
45 #include <wtf/MathExtras.h> 45 #include "wtf/MathExtras.h"
46 #include <wtf/text/StringBuilder.h> 46 #include "wtf/text/StringBuilder.h"
47 47
48 namespace WebCore { 48 namespace WebCore {
49 49
50 // The following values default values are defined within the WebVTT Regions Spe c. 50 // The following values default values are defined within the WebVTT Regions Spe c.
51 // https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/region.html 51 // https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/region.html
52 52
53 // The region occupies by default 100% of the width of the video viewport. 53 // The region occupies by default 100% of the width of the video viewport.
54 static const float defaultWidth = 100; 54 static const float defaultWidth = 100;
55 55
56 // The region has, by default, 3 lines of text. 56 // The region has, by default, 3 lines of text.
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 { 497 {
498 LOG(Media, "TextTrackRegion::scrollTimerFired"); 498 LOG(Media, "TextTrackRegion::scrollTimerFired");
499 499
500 stopTimer(); 500 stopTimer();
501 displayLastTextTrackCueBox(); 501 displayLastTextTrackCueBox();
502 } 502 }
503 503
504 } // namespace WebCore 504 } // namespace WebCore
505 505
506 #endif 506 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrackRegion.h ('k') | Source/core/html/track/TextTrackRegionList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698