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 Intel Corporation. All rights reserved. |
10 * | 10 * |
(...skipping 12 matching lines...) Expand all Loading... |
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
25 * | 25 * |
26 */ | 26 */ |
27 | 27 |
28 #ifndef ViewportArguments_h | 28 #ifndef ViewportArguments_h |
29 #define ViewportArguments_h | 29 #define ViewportArguments_h |
30 | 30 |
31 #include "core/page/PageScaleConstraints.h" | 31 #include "core/page/PageScaleConstraints.h" |
32 #include "core/platform/graphics/FloatSize.h" | 32 #include "core/platform/graphics/FloatSize.h" |
33 #include <wtf/Forward.h> | 33 #include "wtf/Forward.h" |
34 | 34 |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 class Document; | 37 class Document; |
38 | 38 |
39 enum ViewportErrorCode { | 39 enum ViewportErrorCode { |
40 UnrecognizedViewportArgumentKeyError, | 40 UnrecognizedViewportArgumentKeyError, |
41 UnrecognizedViewportArgumentValueError, | 41 UnrecognizedViewportArgumentValueError, |
42 TruncatedViewportArgumentValueError, | 42 TruncatedViewportArgumentValueError, |
43 MaximumScaleTooLargeError, | 43 MaximumScaleTooLargeError, |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 return !(*this == other); | 124 return !(*this == other); |
125 } | 125 } |
126 }; | 126 }; |
127 | 127 |
128 void setViewportFeature(const String& keyString, const String& valueString, Docu
ment*, void* data); | 128 void setViewportFeature(const String& keyString, const String& valueString, Docu
ment*, void* data); |
129 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme
nt1, const String& replacement2); | 129 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme
nt1, const String& replacement2); |
130 | 130 |
131 } // namespace WebCore | 131 } // namespace WebCore |
132 | 132 |
133 #endif // ViewportArguments_h | 133 #endif // ViewportArguments_h |
OLD | NEW |