| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "core/frame/FrameView.h" | 26 #include "core/frame/FrameView.h" |
| 27 #include "core/frame/LocalFrame.h" | 27 #include "core/frame/LocalFrame.h" |
| 28 #include "core/frame/Settings.h" | 28 #include "core/frame/Settings.h" |
| 29 #include "core/html/HTMLIFrameElement.h" | 29 #include "core/html/HTMLIFrameElement.h" |
| 30 #include "core/layout/HitTestResult.h" | 30 #include "core/layout/HitTestResult.h" |
| 31 #include "core/layout/LayoutGeometryMap.h" | 31 #include "core/layout/LayoutGeometryMap.h" |
| 32 #include "core/layout/LayoutMedia.h" | 32 #include "core/layout/LayoutMedia.h" |
| 33 #include "core/layout/LayoutPart.h" | 33 #include "core/layout/LayoutPart.h" |
| 34 #include "core/layout/ViewFragmentationContext.h" | 34 #include "core/layout/ViewFragmentationContext.h" |
| 35 #include "core/layout/api/LayoutAPIShim.h" | 35 #include "core/layout/api/LayoutAPIShim.h" |
| 36 #include "core/layout/api/LayoutPartItem.h" |
| 37 #include "core/layout/api/LayoutViewItem.h" |
| 36 #include "core/layout/compositing/PaintLayerCompositor.h" | 38 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 37 #include "core/page/Page.h" | 39 #include "core/page/Page.h" |
| 38 #include "core/paint/PaintLayer.h" | 40 #include "core/paint/PaintLayer.h" |
| 39 #include "core/paint/ViewPainter.h" | 41 #include "core/paint/ViewPainter.h" |
| 40 #include "core/svg/SVGDocumentExtensions.h" | 42 #include "core/svg/SVGDocumentExtensions.h" |
| 41 #include "platform/Histogram.h" | 43 #include "platform/Histogram.h" |
| 42 #include "platform/TraceEvent.h" | 44 #include "platform/TraceEvent.h" |
| 43 #include "platform/TracedValue.h" | 45 #include "platform/TracedValue.h" |
| 44 #include "platform/geometry/FloatQuad.h" | 46 #include "platform/geometry/FloatQuad.h" |
| 45 #include "platform/geometry/TransformState.h" | 47 #include "platform/geometry/TransformState.h" |
| (...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 990 // of this override. All frame scrolling should be handled by | 992 // of this override. All frame scrolling should be handled by |
| 991 // ViewportScrollCallback. | 993 // ViewportScrollCallback. |
| 992 | 994 |
| 993 if (!frameView()) | 995 if (!frameView()) |
| 994 return ScrollResult(false, false, delta.width(), delta.height()); | 996 return ScrollResult(false, false, delta.width(), delta.height()); |
| 995 | 997 |
| 996 return frameView()->getScrollableArea()->userScroll(granularity, delta); | 998 return frameView()->getScrollableArea()->userScroll(granularity, delta); |
| 997 } | 999 } |
| 998 | 1000 |
| 999 } // namespace blink | 1001 } // namespace blink |
| OLD | NEW |