| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef RotationViewportAnchor_h | 5 #ifndef RotationViewportAnchor_h |
| 6 #define RotationViewportAnchor_h | 6 #define RotationViewportAnchor_h |
| 7 | 7 |
| 8 #include "platform/geometry/FloatSize.h" | 8 #include "platform/geometry/FloatSize.h" |
| 9 #include "platform/geometry/IntPoint.h" | 9 #include "platform/geometry/IntPoint.h" |
| 10 #include "platform/geometry/IntRect.h" | 10 #include "platform/geometry/IntRect.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 float m_oldPageScaleFactor; | 44 float m_oldPageScaleFactor; |
| 45 float m_oldMinimumPageScaleFactor; | 45 float m_oldMinimumPageScaleFactor; |
| 46 | 46 |
| 47 // Inner viewport origin in the reference frame of the document in CSS pixel
s | 47 // Inner viewport origin in the reference frame of the document in CSS pixel
s |
| 48 FloatPoint m_visualViewportInDocument; | 48 FloatPoint m_visualViewportInDocument; |
| 49 | 49 |
| 50 // Inner viewport origin in the reference frame of the outer viewport | 50 // Inner viewport origin in the reference frame of the outer viewport |
| 51 // normalized to the outer viewport size. | 51 // normalized to the outer viewport size. |
| 52 FloatSize m_normalizedVisualViewportOffset; | 52 FloatSize m_normalizedVisualViewportOffset; |
| 53 | 53 |
| 54 RefPtrWillBeMember<Node> m_anchorNode; | 54 Member<Node> m_anchorNode; |
| 55 LayoutRect m_anchorNodeBounds; | 55 LayoutRect m_anchorNodeBounds; |
| 56 | 56 |
| 57 FloatSize m_anchorInInnerViewCoords; | 57 FloatSize m_anchorInInnerViewCoords; |
| 58 FloatSize m_anchorInNodeCoords; | 58 FloatSize m_anchorInNodeCoords; |
| 59 | 59 |
| 60 PageScaleConstraintsSet& m_pageScaleConstraintsSet; | 60 PageScaleConstraintsSet& m_pageScaleConstraintsSet; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace blink | 63 } // namespace blink |
| 64 | 64 |
| 65 #endif // RotationViewportAnchor_h | 65 #endif // RotationViewportAnchor_h |
| OLD | NEW |