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 reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
508 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear }; | 508 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear }; |
509 | 509 |
510 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; | 510 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; |
511 | 511 |
512 enum RubyPosition { RubyPositionBefore, RubyPositionAfter }; | 512 enum RubyPosition { RubyPositionBefore, RubyPositionAfter }; |
513 | 513 |
514 enum GridAutoFlow { AutoFlowNone, AutoFlowColumn, AutoFlowRow }; | 514 enum GridAutoFlow { AutoFlowNone, AutoFlowColumn, AutoFlowRow }; |
515 | 515 |
516 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe gionNoDrag }; | 516 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe gionNoDrag }; |
517 | 517 |
518 enum TouchAction { TouchActionNone, TouchActionAuto }; | 518 static const size_t TouchActionBits = 3; |
519 enum TouchAction { | |
520 TouchActionAuto = 0x0, | |
521 TouchActionNone = 0x1, | |
vivekg
2013/12/13 14:14:31
Same goes here as below comment about the enum.
gnana
2013/12/13 17:06:23
Done.
| |
522 TouchActionPanX = 0x2, | |
523 TouchActionPanY = 0x4 | |
524 }; | |
525 inline TouchAction operator| (TouchAction a, TouchAction b) { return TouchAction (int(a) | int(b)); } | |
526 inline TouchAction& operator|= (TouchAction& a, TouchAction b) { return a = a | b; } | |
527 inline TouchAction operator& (TouchAction a, TouchAction b) { return TouchAction (int(a) & int(b)); } | |
528 inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a & b; } | |
519 | 529 |
520 enum EIsolation { IsolationAuto, IsolationIsolate }; | 530 enum EIsolation { IsolationAuto, IsolationIsolate }; |
521 | 531 |
522 enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript }; | 532 enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript }; |
523 | 533 |
524 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). | 534 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). |
525 static const float maximumAllowedFontSize = 1000000.0f; | 535 static const float maximumAllowedFontSize = 1000000.0f; |
526 | 536 |
527 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 537 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
528 | 538 |
529 enum LayoutBox { MarginBox, BorderBox, PaddingBox, ContentBox }; | 539 enum LayoutBox { MarginBox, BorderBox, PaddingBox, ContentBox }; |
530 | 540 |
531 } // namespace WebCore | 541 } // namespace WebCore |
532 | 542 |
533 #endif // RenderStyleConstants_h | 543 #endif // RenderStyleConstants_h |
OLD | NEW |