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

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

Issue 2015583003: Remove assorted unnecessary includes in core/layout/ (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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "core/layout/LayoutScrollbarPart.h" 26 #include "core/layout/LayoutScrollbarPart.h"
27 27
28 #include "core/frame/FrameView.h" 28 #include "core/frame/FrameView.h"
29 #include "core/frame/UseCounter.h" 29 #include "core/frame/UseCounter.h"
30 #include "core/layout/LayoutScrollbar.h" 30 #include "core/layout/LayoutScrollbar.h"
31 #include "core/layout/LayoutScrollbarTheme.h" 31 #include "core/layout/LayoutScrollbarTheme.h"
32 #include "core/layout/LayoutView.h" 32 #include "core/layout/LayoutView.h"
33 #include "core/paint/PaintLayerScrollableArea.h"
34 #include "platform/LengthFunctions.h" 33 #include "platform/LengthFunctions.h"
35 34
36 namespace blink { 35 namespace blink {
37 36
38 LayoutScrollbarPart::LayoutScrollbarPart(ScrollableArea* scrollableArea, LayoutS crollbar* scrollbar, ScrollbarPart part) 37 LayoutScrollbarPart::LayoutScrollbarPart(ScrollableArea* scrollableArea, LayoutS crollbar* scrollbar, ScrollbarPart part)
39 : LayoutBlock(nullptr) 38 : LayoutBlock(nullptr)
40 , m_scrollableArea(scrollableArea) 39 , m_scrollableArea(scrollableArea)
41 , m_scrollbar(scrollbar) 40 , m_scrollbar(scrollbar)
42 , m_part(part) 41 , m_part(part)
43 { 42 {
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 217 }
219 218
220 LayoutRect LayoutScrollbarPart::visualRect() const 219 LayoutRect LayoutScrollbarPart::visualRect() const
221 { 220 {
222 // This returns the combined bounds of all scrollbar parts, which is suffici ent for correctness 221 // This returns the combined bounds of all scrollbar parts, which is suffici ent for correctness
223 // but not as tight as it could be. 222 // but not as tight as it could be.
224 return m_scrollableArea->visualRectForScrollbarParts(); 223 return m_scrollableArea->visualRectForScrollbarParts();
225 } 224 }
226 225
227 } // namespace blink 226 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698