| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved. |
| 10 * | 10 * |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 , zoom(ValueAuto) | 63 , zoom(ValueAuto) |
| 64 , minZoom(ValueAuto) | 64 , minZoom(ValueAuto) |
| 65 , maxZoom(ValueAuto) | 65 , maxZoom(ValueAuto) |
| 66 , userZoom(ValueAuto) | 66 , userZoom(ValueAuto) |
| 67 , orientation(ValueAuto) | 67 , orientation(ValueAuto) |
| 68 , deprecatedTargetDensityDPI(ValueAuto) | 68 , deprecatedTargetDensityDPI(ValueAuto) |
| 69 { | 69 { |
| 70 } | 70 } |
| 71 | 71 |
| 72 // All arguments are in CSS units. | 72 // All arguments are in CSS units. |
| 73 PageScaleConstraints resolve(const FloatSize& initialViewportSize) const; | 73 PageScaleConstraints resolve(const FloatSize& initialViewportSize, Length le
gacyFallbackWidth) const; |
| 74 | 74 |
| 75 Length minWidth; | 75 Length minWidth; |
| 76 Length maxWidth; | 76 Length maxWidth; |
| 77 Length minHeight; | 77 Length minHeight; |
| 78 Length maxHeight; | 78 Length maxHeight; |
| 79 float zoom; | 79 float zoom; |
| 80 float minZoom; | 80 float minZoom; |
| 81 float maxZoom; | 81 float maxZoom; |
| 82 float userZoom; | 82 float userZoom; |
| 83 float orientation; | 83 float orientation; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 109 bool isSpecifiedByAuthor() const { return type != UserAgentStyleSheet; } | 109 bool isSpecifiedByAuthor() const { return type != UserAgentStyleSheet; } |
| 110 | 110 |
| 111 private: | 111 private: |
| 112 enum Direction { Horizontal, Vertical }; | 112 enum Direction { Horizontal, Vertical }; |
| 113 static float resolveViewportLength(const Length&, const FloatSize& initialVi
ewportSize, Direction); | 113 static float resolveViewportLength(const Length&, const FloatSize& initialVi
ewportSize, Direction); |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace WebCore | 116 } // namespace WebCore |
| 117 | 117 |
| 118 #endif // ViewportDescription_h | 118 #endif // ViewportDescription_h |
| OLD | NEW |