| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 float m_oldPageScaleFactor; | 49 float m_oldPageScaleFactor; |
| 50 float m_oldMinimumPageScaleFactor; | 50 float m_oldMinimumPageScaleFactor; |
| 51 | 51 |
| 52 // Inner viewport origin in the reference frame of the document in CSS pixel
s | 52 // Inner viewport origin in the reference frame of the document in CSS pixel
s |
| 53 FloatPoint m_pinchViewportInDocument; | 53 FloatPoint m_pinchViewportInDocument; |
| 54 | 54 |
| 55 // Inner viewport origin in the reference frame of the outer viewport | 55 // Inner viewport origin in the reference frame of the outer viewport |
| 56 // normalized to the outer viewport size. | 56 // normalized to the outer viewport size. |
| 57 FloatSize m_normalizedPinchViewportOffset; | 57 FloatSize m_normalizedPinchViewportOffset; |
| 58 | 58 |
| 59 RefPtrWillBeMember<Node> m_anchorNode; | 59 RefPtrWillBePersistent<Node> m_anchorNode; |
| 60 LayoutRect m_anchorNodeBounds; | 60 LayoutRect m_anchorNodeBounds; |
| 61 | 61 |
| 62 FloatSize m_anchorInInnerViewCoords; | 62 FloatSize m_anchorInInnerViewCoords; |
| 63 FloatSize m_anchorInNodeCoords; | 63 FloatSize m_anchorInNodeCoords; |
| 64 | 64 |
| 65 PageScaleConstraintsSet& m_pageScaleConstraintsSet; | 65 PageScaleConstraintsSet& m_pageScaleConstraintsSet; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace blink | 68 } // namespace blink |
| 69 | 69 |
| 70 #endif | 70 #endif |
| OLD | NEW |