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

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

Issue 2008503003: Eliminate unnecessary includes of LayoutBlockFlow-derived headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styleRef(bool) needs LayoutObjectInlines.h 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, 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009 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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #include "core/layout/LayoutScrollbar.h" 26 #include "core/layout/LayoutScrollbar.h"
27 27
28 #include "core/css/PseudoStyleRequest.h" 28 #include "core/css/PseudoStyleRequest.h"
29 #include "core/frame/FrameView.h" 29 #include "core/frame/FrameView.h"
30 #include "core/frame/LocalFrame.h" 30 #include "core/frame/LocalFrame.h"
31 #include "core/layout/LayoutPart.h" 31 #include "core/layout/LayoutPart.h"
32 #include "core/layout/LayoutScrollbarPart.h" 32 #include "core/layout/LayoutScrollbarPart.h"
33 #include "core/layout/LayoutScrollbarTheme.h" 33 #include "core/layout/LayoutScrollbarTheme.h"
34 #include "core/layout/LayoutView.h"
35 #include "platform/graphics/GraphicsContext.h" 34 #include "platform/graphics/GraphicsContext.h"
36 35
37 namespace blink { 36 namespace blink {
38 37
39 Scrollbar* LayoutScrollbar::createCustomScrollbar(ScrollableArea* scrollableArea , ScrollbarOrientation orientation, Node* ownerNode, LocalFrame* owningFrame) 38 Scrollbar* LayoutScrollbar::createCustomScrollbar(ScrollableArea* scrollableArea , ScrollbarOrientation orientation, Node* ownerNode, LocalFrame* owningFrame)
40 { 39 {
41 return new LayoutScrollbar(scrollableArea, orientation, ownerNode, owningFra me); 40 return new LayoutScrollbar(scrollableArea, orientation, ownerNode, owningFra me);
42 } 41 }
43 42
44 LayoutScrollbar::LayoutScrollbar(ScrollableArea* scrollableArea, ScrollbarOrient ation orientation, Node* ownerNode, LocalFrame* owningFrame) 43 LayoutScrollbar::LayoutScrollbar(ScrollableArea* scrollableArea, ScrollbarOrient ation orientation, Node* ownerNode, LocalFrame* owningFrame)
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 return orientation() == HorizontalScrollbar ? partLayoutObject->size().width () : partLayoutObject->size().height(); 358 return orientation() == HorizontalScrollbar ? partLayoutObject->size().width () : partLayoutObject->size().height();
360 } 359 }
361 360
362 void LayoutScrollbar::invalidateDisplayItemClientsOfScrollbarParts(const LayoutB oxModelObject& paintInvalidationContainer) 361 void LayoutScrollbar::invalidateDisplayItemClientsOfScrollbarParts(const LayoutB oxModelObject& paintInvalidationContainer)
363 { 362 {
364 for (auto& part : m_parts) 363 for (auto& part : m_parts)
365 part.value->invalidateDisplayItemClientsIncludingNonCompositingDescendan ts(&paintInvalidationContainer, PaintInvalidationScroll); 364 part.value->invalidateDisplayItemClientsIncludingNonCompositingDescendan ts(&paintInvalidationContainer, PaintInvalidationScroll);
366 } 365 }
367 366
368 } // namespace blink 367 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutReplaced.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698