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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp

Issue 2007133003: Remove unnecessary includes of LayoutBlock-derived headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google 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 18 matching lines...) Expand all
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "core/layout/LayoutSliderContainer.h" 32 #include "core/layout/LayoutSliderContainer.h"
33 33
34 #include "core/dom/shadow/ShadowRoot.h" 34 #include "core/dom/shadow/ShadowRoot.h"
35 #include "core/html/HTMLInputElement.h" 35 #include "core/html/HTMLInputElement.h"
36 #include "core/html/parser/HTMLParserIdioms.h" 36 #include "core/html/parser/HTMLParserIdioms.h"
37 #include "core/html/shadow/ShadowElementNames.h" 37 #include "core/html/shadow/ShadowElementNames.h"
38 #include "core/html/shadow/SliderThumbElement.h" 38 #include "core/html/shadow/SliderThumbElement.h"
39 #include "core/layout/LayoutFlexibleBox.h"
40 #include "core/layout/LayoutSlider.h" 39 #include "core/layout/LayoutSlider.h"
41 #include "core/layout/LayoutTheme.h" 40 #include "core/layout/LayoutTheme.h"
42 41
43 namespace blink { 42 namespace blink {
44 43
45 LayoutSliderContainer::LayoutSliderContainer(SliderContainerElement* element) 44 LayoutSliderContainer::LayoutSliderContainer(SliderContainerElement* element)
46 : LayoutFlexibleBox(element) 45 : LayoutFlexibleBox(element)
47 { 46 {
48 } 47 }
49 48
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 thumbLocation.setX(thumbLocation.x() - offset); 138 thumbLocation.setX(thumbLocation.x() - offset);
140 thumb->setLocation(thumbLocation); 139 thumb->setLocation(thumbLocation);
141 140
142 // We need one-off invalidation code here because painting of the timeline e lement does not go through style. 141 // We need one-off invalidation code here because painting of the timeline e lement does not go through style.
143 // Instead it has a custom implementation in C++ code. 142 // Instead it has a custom implementation in C++ code.
144 // Therefore the style system cannot understand when it needs to be paint in validated. 143 // Therefore the style system cannot understand when it needs to be paint in validated.
145 setShouldDoFullPaintInvalidation(); 144 setShouldDoFullPaintInvalidation();
146 } 145 }
147 146
148 } // namespace blink 147 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698