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

Side by Side Diff: sky/engine/platform/Length.h

Issue 714783003: Remove some straggling zoom-related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 24 matching lines...) Expand all
35 35
36 namespace blink { 36 namespace blink {
37 37
38 // FIXME: This enum makes it hard to tell in general what values may be 38 // FIXME: This enum makes it hard to tell in general what values may be
39 // appropriate for any given Length. 39 // appropriate for any given Length.
40 enum LengthType { 40 enum LengthType {
41 Auto, Percent, Fixed, 41 Auto, Percent, Fixed,
42 Intrinsic, MinIntrinsic, 42 Intrinsic, MinIntrinsic,
43 MinContent, MaxContent, FillAvailable, FitContent, 43 MinContent, MaxContent, FillAvailable, FitContent,
44 Calculated, 44 Calculated,
45 ExtendToZoom, DeviceWidth, DeviceHeight, 45 DeviceWidth, DeviceHeight,
46 MaxSizeNone 46 MaxSizeNone
47 }; 47 };
48 48
49 enum ValueRange { 49 enum ValueRange {
50 ValueRangeAll, 50 ValueRangeAll,
51 ValueRangeNonNegative 51 ValueRangeNonNegative
52 }; 52 };
53 53
54 struct PixelsAndPercent { 54 struct PixelsAndPercent {
55 PixelsAndPercent(float pixels, float percent) 55 PixelsAndPercent(float pixels, float percent)
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 float m_floatValue; 346 float m_floatValue;
347 }; 347 };
348 bool m_quirk; 348 bool m_quirk;
349 unsigned char m_type; 349 unsigned char m_type;
350 bool m_isFloat; 350 bool m_isFloat;
351 }; 351 };
352 352
353 } // namespace blink 353 } // namespace blink
354 354
355 #endif // Length_h 355 #endif // Length_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | sky/engine/platform/LengthFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698