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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 #endif | 258 #endif |
259 | 259 |
260 void updateFromStyle() override; | 260 void updateFromStyle() override; |
261 bool allowsOverflowClip() const override; | 261 bool allowsOverflowClip() const override; |
262 | 262 |
263 bool shouldUsePrintingLayout() const; | 263 bool shouldUsePrintingLayout() const; |
264 | 264 |
265 int viewLogicalWidthForBoxSizing() const; | 265 int viewLogicalWidthForBoxSizing() const; |
266 int viewLogicalHeightForBoxSizing() const; | 266 int viewLogicalHeightForBoxSizing() const; |
267 | 267 |
268 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override; | |
269 | |
270 UntracedMember<FrameView> m_frameView; | 268 UntracedMember<FrameView> m_frameView; |
271 | 269 |
272 // The current selection represented as 2 boundaries. | 270 // The current selection represented as 2 boundaries. |
273 // Selection boundaries are represented in LayoutView by a tuple | 271 // Selection boundaries are represented in LayoutView by a tuple |
274 // (LayoutObject, DOM node offset). | 272 // (LayoutObject, DOM node offset). |
275 // See http://www.w3.org/TR/dom/#range for more information. | 273 // See http://www.w3.org/TR/dom/#range for more information. |
276 // | 274 // |
277 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for | 275 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for |
278 // |Text| node without 'transform' or 'first-letter'. | 276 // |Text| node without 'transform' or 'first-letter'. |
279 // | 277 // |
(...skipping 29 matching lines...) Expand all Loading... |
309 unsigned m_hitTestCount; | 307 unsigned m_hitTestCount; |
310 unsigned m_hitTestCacheHits; | 308 unsigned m_hitTestCacheHits; |
311 Persistent<HitTestCache> m_hitTestCache; | 309 Persistent<HitTestCache> m_hitTestCache; |
312 }; | 310 }; |
313 | 311 |
314 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 312 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
315 | 313 |
316 } // namespace blink | 314 } // namespace blink |
317 | 315 |
318 #endif // LayoutView_h | 316 #endif // LayoutView_h |
OLD | NEW |