| 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) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. |    3  * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. | 
|    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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   94  |   94  | 
|   95     // This callback is invoked whenever the intrinsic size changed. |   95     // This callback is invoked whenever the intrinsic size changed. | 
|   96     // |   96     // | 
|   97     // The intrinsic size can change due to the network (from the default |   97     // The intrinsic size can change due to the network (from the default | 
|   98     // intrinsic size [see above] to the actual intrinsic size) or to some |   98     // intrinsic size [see above] to the actual intrinsic size) or to some | 
|   99     // CSS properties like 'zoom' or 'image-orientation'. |   99     // CSS properties like 'zoom' or 'image-orientation'. | 
|  100     virtual void intrinsicSizeChanged(); |  100     virtual void intrinsicSizeChanged(); | 
|  101  |  101  | 
|  102     virtual LayoutBox* embeddedContentBox() const { return nullptr; } |  102     virtual LayoutBox* embeddedContentBox() const { return nullptr; } | 
|  103  |  103  | 
 |  104     PositionWithAffinity positionForPoint(const LayoutPoint&) override; | 
 |  105  | 
|  104 private: |  106 private: | 
|  105     void computePreferredLogicalWidths() final; |  107     void computePreferredLogicalWidths() final; | 
|  106  |  108  | 
|  107     PositionWithAffinity positionForPoint(const LayoutPoint&) final; |  | 
|  108  |  | 
|  109     bool canBeSelectionLeaf() const override { return true; } |  109     bool canBeSelectionLeaf() const override { return true; } | 
|  110  |  110  | 
|  111     LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* pai
     ntInvalidationContainer) const final; |  111     LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* pai
     ntInvalidationContainer) const final; | 
|  112     void computeAspectRatioInformationForLayoutBox(LayoutBox*, FloatSize& constr
     ainedSize, double& intrinsicRatio) const; |  112     void computeAspectRatioInformationForLayoutBox(LayoutBox*, FloatSize& constr
     ainedSize, double& intrinsicRatio) const; | 
|  113  |  113  | 
|  114     mutable LayoutSize m_intrinsicSize; |  114     mutable LayoutSize m_intrinsicSize; | 
|  115 }; |  115 }; | 
|  116  |  116  | 
|  117 } |  117 } | 
|  118  |  118  | 
|  119 #endif |  119 #endif | 
| OLD | NEW |