Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Side by Side Diff: Source/core/platform/Length.h

Issue 19632002: Support 'extend-to-zoom' viewport descriptor value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed isExtendToZoom() Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/ViewportArguments.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
4 Copyright (C) 2011 Rik Cabanier (cabanier@adobe.com) 4 Copyright (C) 2011 Rik Cabanier (cabanier@adobe.com)
5 Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 5 Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
6 6
7 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
(...skipping 22 matching lines...) Expand all
33 #include "wtf/Vector.h" 33 #include "wtf/Vector.h"
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 enum LengthType { 37 enum LengthType {
38 Auto, Relative, Percent, Fixed, 38 Auto, Relative, Percent, Fixed,
39 Intrinsic, MinIntrinsic, 39 Intrinsic, MinIntrinsic,
40 MinContent, MaxContent, FillAvailable, FitContent, 40 MinContent, MaxContent, FillAvailable, FitContent,
41 Calculated, 41 Calculated,
42 ViewportPercentageWidth, ViewportPercentageHeight, ViewportPercentageMin, Vi ewportPercentageMax, 42 ViewportPercentageWidth, ViewportPercentageHeight, ViewportPercentageMin, Vi ewportPercentageMax,
43 ExtendToZoom,
43 Undefined 44 Undefined
44 }; 45 };
45 46
46 class CalculationValue; 47 class CalculationValue;
47 48
48 struct Length { 49 struct Length {
49 WTF_MAKE_FAST_ALLOCATED; 50 WTF_MAKE_FAST_ALLOCATED;
50 public: 51 public:
51 Length() 52 Length()
52 : m_intValue(0), m_quirk(false), m_type(Auto), m_isFloat(false) 53 : m_intValue(0), m_quirk(false), m_type(Auto), m_isFloat(false)
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 bool m_quirk; 311 bool m_quirk;
311 unsigned char m_type; 312 unsigned char m_type;
312 bool m_isFloat; 313 bool m_isFloat;
313 }; 314 };
314 315
315 Vector<Length> parseHTMLAreaElementCoords(const String&); 316 Vector<Length> parseHTMLAreaElementCoords(const String&);
316 317
317 } // namespace WebCore 318 } // namespace WebCore
318 319
319 #endif // Length_h 320 #endif // Length_h
OLDNEW
« no previous file with comments | « Source/core/dom/ViewportArguments.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698