| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 struct ViewportArguments { | 48 struct ViewportArguments { |
| 49 | 49 |
| 50 enum Type { | 50 enum Type { |
| 51 // These are ordered in increasing importance. | 51 // These are ordered in increasing importance. |
| 52 Implicit, | 52 Implicit, |
| 53 XHTMLMobileProfile, | 53 XHTMLMobileProfile, |
| 54 HandheldFriendlyMeta, | 54 HandheldFriendlyMeta, |
| 55 MobileOptimizedMeta, | 55 MobileOptimizedMeta, |
| 56 ViewportMeta, | 56 ViewportMeta, |
| 57 ViewportMetaLayoutSizeQuirk, |
| 57 CSSDeviceAdaptation | 58 CSSDeviceAdaptation |
| 58 } type; | 59 } type; |
| 59 | 60 |
| 60 enum { | 61 enum { |
| 61 ValueAuto = -1, | 62 ValueAuto = -1, |
| 62 ValueDeviceWidth = -2, | 63 ValueDeviceWidth = -2, |
| 63 ValueDeviceHeight = -3, | 64 ValueDeviceHeight = -3, |
| 64 ValuePortrait = -4, | 65 ValuePortrait = -4, |
| 65 ValueLandscape = -5, | 66 ValueLandscape = -5, |
| 66 ValueDeviceDPI = -6, | 67 ValueDeviceDPI = -6, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 return !(*this == other); | 127 return !(*this == other); |
| 127 } | 128 } |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 void setViewportFeature(const String& keyString, const String& valueString, Docu
ment*, void* data); | 131 void setViewportFeature(const String& keyString, const String& valueString, Docu
ment*, void* data); |
| 131 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme
nt1, const String& replacement2); | 132 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme
nt1, const String& replacement2); |
| 132 | 133 |
| 133 } // namespace WebCore | 134 } // namespace WebCore |
| 134 | 135 |
| 135 #endif // ViewportArguments_h | 136 #endif // ViewportArguments_h |
| OLD | NEW |