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

Side by Side Diff: Source/core/rendering/RenderMediaControlElements.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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/rendering/RenderListItem.cpp ('k') | Source/core/rendering/RenderMediaControls.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) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. 3 * Copyright (C) 2012 Google Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 11 matching lines...) Expand all
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 29
30 #include "core/rendering/RenderMediaControlElements.h" 30 #include "core/rendering/RenderMediaControlElements.h"
31 31
32 #include "core/rendering/RenderTheme.h"
33 #include "core/rendering/RenderView.h" 32 #include "core/rendering/RenderView.h"
34 33
35 namespace WebCore { 34 namespace WebCore {
36 35
37 RenderTextTrackContainerElement::RenderTextTrackContainerElement(Element* elemen t) 36 RenderTextTrackContainerElement::RenderTextTrackContainerElement(Element* elemen t)
38 : RenderBlock(element) 37 : RenderBlock(element)
39 { 38 {
40 } 39 }
41 40
42 void RenderTextTrackContainerElement::layout() 41 void RenderTextTrackContainerElement::layout()
43 { 42 {
44 RenderBlock::layout(); 43 RenderBlock::layout();
45 if (style()->display() == NONE) 44 if (style()->display() == NONE)
46 return; 45 return;
47 46
48 ASSERT(mediaControlElementType(node()) == MediaTextTrackDisplayContainer); 47 ASSERT(mediaControlElementType(node()) == MediaTextTrackDisplayContainer);
49 48
50 LayoutStateDisabler layoutStateDisabler(view()); 49 LayoutStateDisabler layoutStateDisabler(view());
51 static_cast<MediaControlTextTrackContainerElement*>(node())->updateSizes(); 50 static_cast<MediaControlTextTrackContainerElement*>(node())->updateSizes();
52 } 51 }
53 52
54 53
55 } // namespace WebCore 54 } // namespace WebCore
56 55
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderListItem.cpp ('k') | Source/core/rendering/RenderMediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698