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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 // TODO(skobes): This is not quite the ideal behavior, see | 232 // TODO(skobes): This is not quite the ideal behavior, see |
233 // http://crbug.com/250514 and http://crbug.com/249860. | 233 // http://crbug.com/250514 and http://crbug.com/249860. |
234 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const override { | 234 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const override { |
235 return false; | 235 return false; |
236 } | 236 } |
237 | 237 |
238 // The rootLayerScrolls setting will ultimately determine whether FrameView | 238 // The rootLayerScrolls setting will ultimately determine whether FrameView |
239 // or PaintLayerScrollableArea handle the scroll. | 239 // or PaintLayerScrollableArea handle the scroll. |
240 ScrollResult scroll(ScrollGranularity, const FloatSize&) override; | 240 ScrollResult scroll(ScrollGranularity, const FloatSize&) override; |
241 | 241 |
| 242 // DisplayItemClient implementation. |
| 243 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override; |
| 244 |
242 LayoutRect debugRect() const override; | 245 LayoutRect debugRect() const override; |
243 | 246 |
244 private: | 247 private: |
245 void mapLocalToAncestor( | 248 void mapLocalToAncestor( |
246 const LayoutBoxModelObject* ancestor, | 249 const LayoutBoxModelObject* ancestor, |
247 TransformState&, | 250 TransformState&, |
248 MapCoordinatesFlags = ApplyContainerFlip) const override; | 251 MapCoordinatesFlags = ApplyContainerFlip) const override; |
249 | 252 |
250 const LayoutObject* pushMappingToContainer( | 253 const LayoutObject* pushMappingToContainer( |
251 const LayoutBoxModelObject* ancestorToStopAt, | 254 const LayoutBoxModelObject* ancestorToStopAt, |
(...skipping 10 matching lines...) Expand all Loading... |
262 #endif | 265 #endif |
263 | 266 |
264 void updateFromStyle() override; | 267 void updateFromStyle() override; |
265 bool allowsOverflowClip() const override; | 268 bool allowsOverflowClip() const override; |
266 | 269 |
267 bool shouldUsePrintingLayout() const; | 270 bool shouldUsePrintingLayout() const; |
268 | 271 |
269 int viewLogicalWidthForBoxSizing() const; | 272 int viewLogicalWidthForBoxSizing() const; |
270 int viewLogicalHeightForBoxSizing() const; | 273 int viewLogicalHeightForBoxSizing() const; |
271 | 274 |
272 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override; | |
273 | |
274 UntracedMember<FrameView> m_frameView; | 275 UntracedMember<FrameView> m_frameView; |
275 | 276 |
276 // The current selection represented as 2 boundaries. | 277 // The current selection represented as 2 boundaries. |
277 // Selection boundaries are represented in LayoutView by a tuple | 278 // Selection boundaries are represented in LayoutView by a tuple |
278 // (LayoutObject, DOM node offset). | 279 // (LayoutObject, DOM node offset). |
279 // See http://www.w3.org/TR/dom/#range for more information. | 280 // See http://www.w3.org/TR/dom/#range for more information. |
280 // | 281 // |
281 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for | 282 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for |
282 // |Text| node without 'transform' or 'first-letter'. | 283 // |Text| node without 'transform' or 'first-letter'. |
283 // | 284 // |
(...skipping 29 matching lines...) Expand all Loading... |
313 unsigned m_hitTestCount; | 314 unsigned m_hitTestCount; |
314 unsigned m_hitTestCacheHits; | 315 unsigned m_hitTestCacheHits; |
315 Persistent<HitTestCache> m_hitTestCache; | 316 Persistent<HitTestCache> m_hitTestCache; |
316 }; | 317 }; |
317 | 318 |
318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 319 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
319 | 320 |
320 } // namespace blink | 321 } // namespace blink |
321 | 322 |
322 #endif // LayoutView_h | 323 #endif // LayoutView_h |
OLD | NEW |