| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * | 10 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
| 22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
| 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 ComputedStyleConstants_h | 28 #ifndef ComputedStyleConstants_h |
| 29 #define ComputedStyleConstants_h | 29 #define ComputedStyleConstants_h |
| 30 | 30 |
| 31 #include <cstddef> |
| 31 #include "core/ComputedStyleBaseConstants.h" | 32 #include "core/ComputedStyleBaseConstants.h" |
| 32 #include <cstddef> | |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 template <typename Enum> | 36 template <typename Enum> |
| 37 inline bool EnumHasFlags(Enum v, Enum mask) { | 37 inline bool EnumHasFlags(Enum v, Enum mask) { |
| 38 return static_cast<unsigned>(v) & static_cast<unsigned>(mask); | 38 return static_cast<unsigned>(v) & static_cast<unsigned>(mask); |
| 39 } | 39 } |
| 40 | 40 |
| 41 // Some enums are automatically generated in ComputedStyleBaseConstants | 41 // Some enums are automatically generated in ComputedStyleBaseConstants |
| 42 | 42 |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 enum class PageSizeType { | 380 enum class PageSizeType { |
| 381 kAuto, // size: auto | 381 kAuto, // size: auto |
| 382 kLandscape, // size: landscape | 382 kLandscape, // size: landscape |
| 383 kPortrait, // size: portrait | 383 kPortrait, // size: portrait |
| 384 kResolved // Size is fully resolved. | 384 kResolved // Size is fully resolved. |
| 385 }; | 385 }; |
| 386 | 386 |
| 387 } // namespace blink | 387 } // namespace blink |
| 388 | 388 |
| 389 #endif // ComputedStyleConstants_h | 389 #endif // ComputedStyleConstants_h |
| OLD | NEW |