| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 2951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2962 if (child->isFrameView()) | 2962 if (child->isFrameView()) |
| 2963 removeScrollableArea(toFrameView(child)); | 2963 removeScrollableArea(toFrameView(child)); |
| 2964 | 2964 |
| 2965 child->setParent(0); | 2965 child->setParent(0); |
| 2966 m_children.remove(child); | 2966 m_children.remove(child); |
| 2967 } | 2967 } |
| 2968 | 2968 |
| 2969 ScrollResult FrameView::wheelEvent(const PlatformWheelEvent& wheelEvent) | 2969 ScrollResult FrameView::wheelEvent(const PlatformWheelEvent& wheelEvent) |
| 2970 { | 2970 { |
| 2971 if (!isScrollable()) | 2971 if (!isScrollable()) |
| 2972 return ScrollResult(false); | 2972 return ScrollResult(); |
| 2973 | 2973 |
| 2974 if (m_frame->settings()->rootLayerScrolls()) | 2974 if (m_frame->settings()->rootLayerScrolls()) |
| 2975 return ScrollResult(false); | 2975 return ScrollResult(); |
| 2976 | 2976 |
| 2977 return ScrollableArea::handleWheel(wheelEvent); | 2977 return ScrollableArea::handleWheel(wheelEvent); |
| 2978 } | 2978 } |
| 2979 | 2979 |
| 2980 bool FrameView::isVerticalDocument() const | 2980 bool FrameView::isVerticalDocument() const |
| 2981 { | 2981 { |
| 2982 LayoutView* layoutView = this->layoutView(); | 2982 LayoutView* layoutView = this->layoutView(); |
| 2983 if (!layoutView) | 2983 if (!layoutView) |
| 2984 return true; | 2984 return true; |
| 2985 | 2985 |
| (...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4050 | 4050 |
| 4051 if (!graphicsLayer) | 4051 if (!graphicsLayer) |
| 4052 return; | 4052 return; |
| 4053 | 4053 |
| 4054 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL
ayoutObject(), paintInvalidationContainer, viewRect); | 4054 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL
ayoutObject(), paintInvalidationContainer, viewRect); |
| 4055 | 4055 |
| 4056 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web
Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing
IntRect(viewRect))); | 4056 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web
Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing
IntRect(viewRect))); |
| 4057 } | 4057 } |
| 4058 | 4058 |
| 4059 } // namespace blink | 4059 } // namespace blink |
| OLD | NEW |