| 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) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 void registerMediaForPositionChangeNotification(LayoutMedia&); | 198 void registerMediaForPositionChangeNotification(LayoutMedia&); |
| 199 void unregisterMediaForPositionChangeNotification(LayoutMedia&); | 199 void unregisterMediaForPositionChangeNotification(LayoutMedia&); |
| 200 // Notify all registered LayoutMedias that their position on-screen might | 200 // Notify all registered LayoutMedias that their position on-screen might |
| 201 // have changed. visibleRect is the clipping boundary. | 201 // have changed. visibleRect is the clipping boundary. |
| 202 void sendMediaPositionChangeNotifications(const IntRect& visibleRect); | 202 void sendMediaPositionChangeNotifications(const IntRect& visibleRect); |
| 203 | 203 |
| 204 // The rootLayerScrolls setting will ultimately determine whether FrameView | 204 // The rootLayerScrolls setting will ultimately determine whether FrameView |
| 205 // or PaintLayerScrollableArea handle the scroll. | 205 // or PaintLayerScrollableArea handle the scroll. |
| 206 ScrollResult scroll(ScrollGranularity, const FloatSize&) override; | 206 ScrollResult scroll(ScrollGranularity, const FloatSize&) override; |
| 207 | 207 |
| 208 LayoutRect debugRect() const override; |
| 209 |
| 208 private: | 210 private: |
| 209 void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState
&, MapCoordinatesFlags = ApplyContainerFlip) const override; | 211 void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState
&, MapCoordinatesFlags = ApplyContainerFlip) const override; |
| 210 | 212 |
| 211 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances
torToStopAt, LayoutGeometryMap&) const override; | 213 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances
torToStopAt, LayoutGeometryMap&) const override; |
| 212 void mapAncestorToLocal(const LayoutBoxModelObject*, TransformState&, MapCoo
rdinatesFlags) const override; | 214 void mapAncestorToLocal(const LayoutBoxModelObject*, TransformState&, MapCoo
rdinatesFlags) const override; |
| 213 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; | 215 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; |
| 214 | 216 |
| 215 void layoutContent(); | 217 void layoutContent(); |
| 216 #if ENABLE(ASSERT) | 218 #if ENABLE(ASSERT) |
| 217 void checkLayoutState(); | 219 void checkLayoutState(); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 Persistent<HitTestCache> m_hitTestCache; | 274 Persistent<HitTestCache> m_hitTestCache; |
| 273 | 275 |
| 274 Vector<LayoutMedia*> m_mediaForPositionNotification; | 276 Vector<LayoutMedia*> m_mediaForPositionNotification; |
| 275 }; | 277 }; |
| 276 | 278 |
| 277 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 279 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
| 278 | 280 |
| 279 } // namespace blink | 281 } // namespace blink |
| 280 | 282 |
| 281 #endif // LayoutView_h | 283 #endif // LayoutView_h |
| OLD | NEW |