| 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 void checkLayoutState(); | 222 void checkLayoutState(); |
| 223 #endif | 223 #endif |
| 224 | 224 |
| 225 friend class ForceHorriblySlowRectMapping; | 225 friend class ForceHorriblySlowRectMapping; |
| 226 | 226 |
| 227 bool shouldUsePrintingLayout() const; | 227 bool shouldUsePrintingLayout() const; |
| 228 | 228 |
| 229 int viewLogicalWidthForBoxSizing() const; | 229 int viewLogicalWidthForBoxSizing() const; |
| 230 int viewLogicalHeightForBoxSizing() const; | 230 int viewLogicalHeightForBoxSizing() const; |
| 231 | 231 |
| 232 RawPtrWillBeUntracedMember<FrameView> m_frameView; | 232 UntracedMember<FrameView> m_frameView; |
| 233 | 233 |
| 234 // The current selection represented as 2 boundaries. | 234 // The current selection represented as 2 boundaries. |
| 235 // Selection boundaries are represented in LayoutView by a tuple | 235 // Selection boundaries are represented in LayoutView by a tuple |
| 236 // (LayoutObject, DOM node offset). | 236 // (LayoutObject, DOM node offset). |
| 237 // See http://www.w3.org/TR/dom/#range for more information. | 237 // See http://www.w3.org/TR/dom/#range for more information. |
| 238 // | 238 // |
| 239 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for | 239 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for |
| 240 // |Text| node without 'transform' or 'first-letter'. | 240 // |Text| node without 'transform' or 'first-letter'. |
| 241 // | 241 // |
| 242 // Those are used for selection painting and paint invalidation upon | 242 // Those are used for selection painting and paint invalidation upon |
| (...skipping 21 matching lines...) Expand all Loading... |
| 264 | 264 |
| 265 OwnPtr<ViewFragmentationContext> m_fragmentationContext; | 265 OwnPtr<ViewFragmentationContext> m_fragmentationContext; |
| 266 OwnPtr<PaintLayerCompositor> m_compositor; | 266 OwnPtr<PaintLayerCompositor> m_compositor; |
| 267 RefPtr<IntervalArena> m_intervalArena; | 267 RefPtr<IntervalArena> m_intervalArena; |
| 268 | 268 |
| 269 LayoutQuote* m_layoutQuoteHead; | 269 LayoutQuote* m_layoutQuoteHead; |
| 270 unsigned m_layoutCounterCount; | 270 unsigned m_layoutCounterCount; |
| 271 | 271 |
| 272 unsigned m_hitTestCount; | 272 unsigned m_hitTestCount; |
| 273 unsigned m_hitTestCacheHits; | 273 unsigned m_hitTestCacheHits; |
| 274 OwnPtrWillBePersistent<HitTestCache> m_hitTestCache; | 274 Persistent<HitTestCache> m_hitTestCache; |
| 275 | 275 |
| 276 Vector<LayoutMedia*> m_mediaForPositionNotification; | 276 Vector<LayoutMedia*> m_mediaForPositionNotification; |
| 277 }; | 277 }; |
| 278 | 278 |
| 279 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 279 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
| 280 | 280 |
| 281 // Suspends the PaintInvalidationState cached offset and clipRect optimization.
Used under transforms | 281 // Suspends the PaintInvalidationState cached offset and clipRect optimization.
Used under transforms |
| 282 // that cannot be represented by PaintInvalidationState (common in SVG) and when
paint invalidation | 282 // that cannot be represented by PaintInvalidationState (common in SVG) and when
paint invalidation |
| 283 // containers don't follow the common tree-walk algorithm (e.g. when an absolute
positioned descendant | 283 // containers don't follow the common tree-walk algorithm (e.g. when an absolute
positioned descendant |
| 284 // is nested under a relatively positioned inline-block child). | 284 // is nested under a relatively positioned inline-block child). |
| (...skipping 15 matching lines...) Expand all Loading... |
| 300 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 300 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
| 301 } | 301 } |
| 302 private: | 302 private: |
| 303 const PaintInvalidationState* m_paintInvalidationState; | 303 const PaintInvalidationState* m_paintInvalidationState; |
| 304 bool m_didDisable; | 304 bool m_didDisable; |
| 305 }; | 305 }; |
| 306 | 306 |
| 307 } // namespace blink | 307 } // namespace blink |
| 308 | 308 |
| 309 #endif // LayoutView_h | 309 #endif // LayoutView_h |
| OLD | NEW |