OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "config.h" | 44 #include "config.h" |
45 #include "core/rendering/RenderLayer.h" | 45 #include "core/rendering/RenderLayer.h" |
46 | 46 |
47 #include "core/accessibility/AXObjectCache.h" | 47 #include "core/accessibility/AXObjectCache.h" |
48 #include "core/css/PseudoStyleRequest.h" | 48 #include "core/css/PseudoStyleRequest.h" |
49 #include "core/dom/Node.h" | 49 #include "core/dom/Node.h" |
50 #include "core/dom/shadow/ShadowRoot.h" | 50 #include "core/dom/shadow/ShadowRoot.h" |
51 #include "core/editing/FrameSelection.h" | 51 #include "core/editing/FrameSelection.h" |
52 #include "core/frame/FrameView.h" | 52 #include "core/frame/FrameView.h" |
53 #include "core/frame/LocalFrame.h" | 53 #include "core/frame/LocalFrame.h" |
| 54 #include "core/frame/Settings.h" |
54 #include "core/html/HTMLFrameOwnerElement.h" | 55 #include "core/html/HTMLFrameOwnerElement.h" |
55 #include "core/inspector/InspectorInstrumentation.h" | 56 #include "core/inspector/InspectorInstrumentation.h" |
56 #include "core/inspector/InspectorTraceEvents.h" | 57 #include "core/inspector/InspectorTraceEvents.h" |
57 #include "core/page/Chrome.h" | 58 #include "core/page/Chrome.h" |
58 #include "core/page/EventHandler.h" | 59 #include "core/page/EventHandler.h" |
59 #include "core/page/FocusController.h" | 60 #include "core/page/FocusController.h" |
60 #include "core/page/Page.h" | 61 #include "core/page/Page.h" |
61 #include "core/page/scrolling/ScrollingCoordinator.h" | 62 #include "core/page/scrolling/ScrollingCoordinator.h" |
62 #include "core/rendering/RenderGeometryMap.h" | 63 #include "core/rendering/RenderGeometryMap.h" |
63 #include "core/rendering/RenderScrollbar.h" | 64 #include "core/rendering/RenderScrollbar.h" |
(...skipping 1406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1470 void RenderLayerScrollableArea::setTopmostScrollChild(RenderLayer* scrollChild) | 1471 void RenderLayerScrollableArea::setTopmostScrollChild(RenderLayer* scrollChild) |
1471 { | 1472 { |
1472 // We only want to track the topmost scroll child for scrollable areas with | 1473 // We only want to track the topmost scroll child for scrollable areas with |
1473 // overlay scrollbars. | 1474 // overlay scrollbars. |
1474 if (!hasOverlayScrollbars()) | 1475 if (!hasOverlayScrollbars()) |
1475 return; | 1476 return; |
1476 m_nextTopmostScrollChild = scrollChild; | 1477 m_nextTopmostScrollChild = scrollChild; |
1477 } | 1478 } |
1478 | 1479 |
1479 } // namespace blink | 1480 } // namespace blink |
OLD | NEW |