| 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. | 7 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
| 8 * (http://www.torchmobile.com/) | 8 * (http://www.torchmobile.com/) |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved. | 10 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * | 26 * |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef ViewportDescription_h | 29 #ifndef ViewportDescription_h |
| 30 #define ViewportDescription_h | 30 #define ViewportDescription_h |
| 31 | 31 |
| 32 #include "core/CoreExport.h" | 32 #include "core/CoreExport.h" |
| 33 #include "core/frame/PageScaleConstraints.h" | 33 #include "core/frame/PageScaleConstraints.h" |
| 34 #include "platform/Length.h" | 34 #include "platform/Length.h" |
| 35 #include "platform/geometry/FloatSize.h" | 35 #include "platform/geometry/FloatSize.h" |
| 36 #include "wtf/Allocator.h" | 36 #include "platform/wtf/Allocator.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class LocalFrame; | 40 class LocalFrame; |
| 41 | 41 |
| 42 struct CORE_EXPORT ViewportDescription { | 42 struct CORE_EXPORT ViewportDescription { |
| 43 DISALLOW_NEW(); | 43 DISALLOW_NEW(); |
| 44 | 44 |
| 45 enum Type { | 45 enum Type { |
| 46 // These are ordered in increasing importance. | 46 // These are ordered in increasing importance. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 private: | 134 private: |
| 135 enum Direction { kHorizontal, kVertical }; | 135 enum Direction { kHorizontal, kVertical }; |
| 136 static float ResolveViewportLength(const Length&, | 136 static float ResolveViewportLength(const Length&, |
| 137 const FloatSize& initial_viewport_size, | 137 const FloatSize& initial_viewport_size, |
| 138 Direction); | 138 Direction); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace blink | 141 } // namespace blink |
| 142 | 142 |
| 143 #endif // ViewportDescription_h | 143 #endif // ViewportDescription_h |
| OLD | NEW |