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 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved. |
10 * | 10 * |
11 * This library is free software; you can redistribute it and/or | 11 * This library is free software; you can redistribute it and/or |
12 * modify it under the terms of the GNU Library General Public | 12 * modify it under the terms of the GNU Library General Public |
13 * License as published by the Free Software Foundation; either | 13 * License as published by the Free Software Foundation; either |
14 * version 2 of the License, or (at your option) any later version. | 14 * version 2 of the License, or (at your option) any later version. |
15 * | 15 * |
16 * This library is distributed in the hope that it will be useful, | 16 * This library is distributed in the hope that it will be useful, |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
19 * Library General Public License for more details. | 19 * Library General Public License for more details. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 enum { | 59 enum { |
60 ValueAuto = -1, | 60 ValueAuto = -1, |
61 ValueDeviceWidth = -2, | 61 ValueDeviceWidth = -2, |
62 ValueDeviceHeight = -3, | 62 ValueDeviceHeight = -3, |
63 ValuePortrait = -4, | 63 ValuePortrait = -4, |
64 ValueLandscape = -5, | 64 ValueLandscape = -5, |
65 ValueDeviceDPI = -6, | 65 ValueDeviceDPI = -6, |
66 ValueLowDPI = -7, | 66 ValueLowDPI = -7, |
67 ValueMediumDPI = -8, | 67 ValueMediumDPI = -8, |
68 ValueHighDPI = -9 | 68 ValueHighDPI = -9, |
| 69 ValueExtendToZoom = -10 |
69 }; | 70 }; |
70 | 71 |
71 ViewportArguments(Type type = Implicit) | 72 ViewportArguments(Type type = Implicit) |
72 : type(type) | 73 : type(type) |
73 , width(ValueAuto) | 74 , width(ValueAuto) |
74 , minWidth(ValueAuto) | 75 , minWidth(ValueAuto) |
75 , maxWidth(ValueAuto) | 76 , maxWidth(ValueAuto) |
76 , height(ValueAuto) | 77 , height(ValueAuto) |
77 , minHeight(ValueAuto) | 78 , minHeight(ValueAuto) |
78 , maxHeight(ValueAuto) | 79 , maxHeight(ValueAuto) |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 return !(*this == other); | 125 return !(*this == other); |
125 } | 126 } |
126 }; | 127 }; |
127 | 128 |
128 void setViewportFeature(const String& keyString, const String& valueString, Docu
ment*, void* data); | 129 void setViewportFeature(const String& keyString, const String& valueString, Docu
ment*, void* data); |
129 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme
nt1, const String& replacement2); | 130 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme
nt1, const String& replacement2); |
130 | 131 |
131 } // namespace WebCore | 132 } // namespace WebCore |
132 | 133 |
133 #endif // ViewportArguments_h | 134 #endif // ViewportArguments_h |
OLD | NEW |