| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 } | 222 } |
| 223 | 223 |
| 224 LayoutRect visualOverflowRect() const override; | 224 LayoutRect visualOverflowRect() const override; |
| 225 LayoutRect localOverflowRectForPaintInvalidation() const override; | 225 LayoutRect localOverflowRectForPaintInvalidation() const override; |
| 226 | 226 |
| 227 // Invalidates paint for the entire view, including composited descendants, | 227 // Invalidates paint for the entire view, including composited descendants, |
| 228 // but not including child frames. | 228 // but not including child frames. |
| 229 // It is very likely you do not want to call this method. | 229 // It is very likely you do not want to call this method. |
| 230 void setShouldDoFullPaintInvalidationForViewAndAllDescendants(); | 230 void setShouldDoFullPaintInvalidationForViewAndAllDescendants(); |
| 231 | 231 |
| 232 void setShouldDoFullPaintInvalidationOnResizeIfNeeded(bool widthChanged, |
| 233 bool heightChanged); |
| 234 |
| 232 // The document scrollbar is always on the right, even in RTL. This is to | 235 // The document scrollbar is always on the right, even in RTL. This is to |
| 233 // prevent it from moving around on navigations. | 236 // prevent it from moving around on navigations. |
| 234 // TODO(skobes): This is not quite the ideal behavior, see | 237 // TODO(skobes): This is not quite the ideal behavior, see |
| 235 // http://crbug.com/250514 and http://crbug.com/249860. | 238 // http://crbug.com/250514 and http://crbug.com/249860. |
| 236 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const override { | 239 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const override { |
| 237 return false; | 240 return false; |
| 238 } | 241 } |
| 239 | 242 |
| 240 // Some LayoutMedias want to know about their viewport visibility for | 243 // Some LayoutMedias want to know about their viewport visibility for |
| 241 // crbug.com/487345,402044 . This facility will be removed once those | 244 // crbug.com/487345,402044 . This facility will be removed once those |
| (...skipping 24 matching lines...) Expand all Loading... |
| 266 TransformState&, | 269 TransformState&, |
| 267 MapCoordinatesFlags) const override; | 270 MapCoordinatesFlags) const override; |
| 268 void computeSelfHitTestRects(Vector<LayoutRect>&, | 271 void computeSelfHitTestRects(Vector<LayoutRect>&, |
| 269 const LayoutPoint& layerOffset) const override; | 272 const LayoutPoint& layerOffset) const override; |
| 270 | 273 |
| 271 void layoutContent(); | 274 void layoutContent(); |
| 272 #if ENABLE(ASSERT) | 275 #if ENABLE(ASSERT) |
| 273 void checkLayoutState(); | 276 void checkLayoutState(); |
| 274 #endif | 277 #endif |
| 275 | 278 |
| 276 void setShouldDoFullPaintInvalidationOnResizeIfNeeded(); | |
| 277 | |
| 278 void updateFromStyle() override; | 279 void updateFromStyle() override; |
| 279 bool allowsOverflowClip() const override; | 280 bool allowsOverflowClip() const override; |
| 280 | 281 |
| 281 bool shouldUsePrintingLayout() const; | 282 bool shouldUsePrintingLayout() const; |
| 282 | 283 |
| 283 int viewLogicalWidthForBoxSizing() const; | 284 int viewLogicalWidthForBoxSizing() const; |
| 284 int viewLogicalHeightForBoxSizing() const; | 285 int viewLogicalHeightForBoxSizing() const; |
| 285 | 286 |
| 286 UntracedMember<FrameView> m_frameView; | 287 UntracedMember<FrameView> m_frameView; |
| 287 | 288 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 Persistent<HitTestCache> m_hitTestCache; | 329 Persistent<HitTestCache> m_hitTestCache; |
| 329 | 330 |
| 330 Vector<LayoutMedia*> m_mediaForPositionNotification; | 331 Vector<LayoutMedia*> m_mediaForPositionNotification; |
| 331 }; | 332 }; |
| 332 | 333 |
| 333 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 334 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
| 334 | 335 |
| 335 } // namespace blink | 336 } // namespace blink |
| 336 | 337 |
| 337 #endif // LayoutView_h | 338 #endif // LayoutView_h |
| OLD | NEW |