| 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 | 479 |
| 480 enum GridAutoFlow { | 480 enum GridAutoFlow { |
| 481 AutoFlowRow = InternalAutoFlowAlgorithmSparse | InternalAutoFlowDirectionRow
, | 481 AutoFlowRow = InternalAutoFlowAlgorithmSparse | InternalAutoFlowDirectionRow
, |
| 482 AutoFlowColumn = InternalAutoFlowAlgorithmSparse | InternalAutoFlowDirection
Column, | 482 AutoFlowColumn = InternalAutoFlowAlgorithmSparse | InternalAutoFlowDirection
Column, |
| 483 AutoFlowRowDense = InternalAutoFlowAlgorithmDense | InternalAutoFlowDirectio
nRow, | 483 AutoFlowRowDense = InternalAutoFlowAlgorithmDense | InternalAutoFlowDirectio
nRow, |
| 484 AutoFlowColumnDense = InternalAutoFlowAlgorithmDense | InternalAutoFlowDirec
tionColumn | 484 AutoFlowColumnDense = InternalAutoFlowAlgorithmDense | InternalAutoFlowDirec
tionColumn |
| 485 }; | 485 }; |
| 486 | 486 |
| 487 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe
gionNoDrag }; | 487 enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe
gionNoDrag }; |
| 488 | 488 |
| 489 static const size_t TouchActionBits = 4; | 489 static const size_t TouchActionBits = 6; |
| 490 enum TouchAction { | 490 enum TouchAction { |
| 491 TouchActionAuto = 0x0, | 491 TouchActionAuto = 0x0, |
| 492 TouchActionNone = 0x1, | 492 TouchActionNone = 0x1, |
| 493 TouchActionPanX = 0x2, | 493 TouchActionPanLeft = 0x2, |
| 494 TouchActionPanY = 0x4, | 494 TouchActionPanRight = 0x4, |
| 495 TouchActionPinchZoom = 0x8, | 495 TouchActionPanX = TouchActionPanLeft | TouchActionPanRight, |
| 496 TouchActionPanUp = 0x8, |
| 497 TouchActionPanDown = 0x10, |
| 498 TouchActionPanY = TouchActionPanUp | TouchActionPanDown, |
| 499 TouchActionPinchZoom = 0x20, |
| 496 }; | 500 }; |
| 497 inline TouchAction operator| (TouchAction a, TouchAction b) { return TouchAction
(int(a) | int(b)); } | 501 inline TouchAction operator| (TouchAction a, TouchAction b) { return TouchAction
(int(a) | int(b)); } |
| 498 inline TouchAction& operator|= (TouchAction& a, TouchAction b) { return a = a |
b; } | 502 inline TouchAction& operator|= (TouchAction& a, TouchAction b) { return a = a |
b; } |
| 499 inline TouchAction operator& (TouchAction a, TouchAction b) { return TouchAction
(int(a) & int(b)); } | 503 inline TouchAction operator& (TouchAction a, TouchAction b) { return TouchAction
(int(a) & int(b)); } |
| 500 inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a &
b; } | 504 inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a &
b; } |
| 501 | 505 |
| 502 enum EIsolation { IsolationAuto, IsolationIsolate }; | 506 enum EIsolation { IsolationAuto, IsolationIsolate }; |
| 503 | 507 |
| 504 enum ItemPosition { | 508 enum ItemPosition { |
| 505 ItemPositionAuto, | 509 ItemPositionAuto, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 static const float maximumAllowedFontSize = 1000000.0f; | 557 static const float maximumAllowedFontSize = 1000000.0f; |
| 554 | 558 |
| 555 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 559 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 556 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 560 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 557 | 561 |
| 558 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 562 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 559 | 563 |
| 560 } // namespace blink | 564 } // namespace blink |
| 561 | 565 |
| 562 #endif // ComputedStyleConstants_h | 566 #endif // ComputedStyleConstants_h |
| OLD | NEW |