| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 // The following are handled as exceptions so don't need to match. | 375 // The following are handled as exceptions so don't need to match. |
| 376 CURSOR_COPY, | 376 CURSOR_COPY, |
| 377 CURSOR_NONE | 377 CURSOR_NONE |
| 378 }; | 378 }; |
| 379 | 379 |
| 380 // The order of this enum must match the order of the display values in CSSValue
Keywords.in. | 380 // The order of this enum must match the order of the display values in CSSValue
Keywords.in. |
| 381 enum EDisplay { | 381 enum EDisplay { |
| 382 INLINE, | 382 INLINE, |
| 383 BLOCK, INLINE_BLOCK, | 383 BLOCK, INLINE_BLOCK, |
| 384 FLEX, INLINE_FLEX, | 384 FLEX, INLINE_FLEX, |
| 385 GRID, INLINE_GRID, | |
| 386 NONE, | 385 NONE, |
| 387 }; | 386 }; |
| 388 | 387 |
| 389 enum EPointerEvents { | 388 enum EPointerEvents { |
| 390 PE_NONE, PE_AUTO, PE_STROKE, PE_FILL, PE_PAINTED, PE_VISIBLE, | 389 PE_NONE, PE_AUTO, PE_STROKE, PE_FILL, PE_PAINTED, PE_VISIBLE, |
| 391 PE_VISIBLE_STROKE, PE_VISIBLE_FILL, PE_VISIBLE_PAINTED, PE_BOUNDINGBOX, | 390 PE_VISIBLE_STROKE, PE_VISIBLE_FILL, PE_VISIBLE_PAINTED, PE_BOUNDINGBOX, |
| 392 PE_ALL | 391 PE_ALL |
| 393 }; | 392 }; |
| 394 | 393 |
| 395 enum ETransformStyle3D { | 394 enum ETransformStyle3D { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 421 enum ImageResolutionSource { ImageResolutionSpecified = 0, ImageResolutionFromIm
age }; | 420 enum ImageResolutionSource { ImageResolutionSpecified = 0, ImageResolutionFromIm
age }; |
| 422 | 421 |
| 423 enum ImageResolutionSnap { ImageResolutionNoSnap = 0, ImageResolutionSnapPixels
}; | 422 enum ImageResolutionSnap { ImageResolutionNoSnap = 0, ImageResolutionSnapPixels
}; |
| 424 | 423 |
| 425 enum Order { LogicalOrder = 0, VisualOrder }; | 424 enum Order { LogicalOrder = 0, VisualOrder }; |
| 426 | 425 |
| 427 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow
Maximum, WrapFlowClear }; | 426 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow
Maximum, WrapFlowClear }; |
| 428 | 427 |
| 429 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; | 428 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; |
| 430 | 429 |
| 431 static const size_t GridAutoFlowBits = 5; | |
| 432 enum InternalGridAutoFlowAlgorithm { | |
| 433 InternalAutoFlowAlgorithmSparse = 0x1, | |
| 434 InternalAutoFlowAlgorithmDense = 0x2, | |
| 435 InternalAutoFlowAlgorithmStack = 0x4 | |
| 436 }; | |
| 437 | |
| 438 enum InternalGridAutoFlowDirection { | |
| 439 InternalAutoFlowDirectionRow = 0x8, | |
| 440 InternalAutoFlowDirectionColumn = 0x10 | |
| 441 }; | |
| 442 | |
| 443 enum GridAutoFlow { | |
| 444 AutoFlowRow = InternalAutoFlowAlgorithmSparse | InternalAutoFlowDirectionRow
, | |
| 445 AutoFlowColumn = InternalAutoFlowAlgorithmSparse | InternalAutoFlowDirection
Column, | |
| 446 AutoFlowRowDense = InternalAutoFlowAlgorithmDense | InternalAutoFlowDirectio
nRow, | |
| 447 AutoFlowColumnDense = InternalAutoFlowAlgorithmDense | InternalAutoFlowDirec
tionColumn, | |
| 448 AutoFlowStackRow = InternalAutoFlowAlgorithmStack | InternalAutoFlowDirectio
nRow, | |
| 449 AutoFlowStackColumn = InternalAutoFlowAlgorithmStack | InternalAutoFlowDirec
tionColumn | |
| 450 }; | |
| 451 | |
| 452 static const size_t TouchActionBits = 4; | 430 static const size_t TouchActionBits = 4; |
| 453 enum TouchAction { | 431 enum TouchAction { |
| 454 TouchActionAuto = 0x0, | 432 TouchActionAuto = 0x0, |
| 455 TouchActionNone = 0x1, | 433 TouchActionNone = 0x1, |
| 456 TouchActionPanX = 0x2, | 434 TouchActionPanX = 0x2, |
| 457 TouchActionPanY = 0x4, | 435 TouchActionPanY = 0x4, |
| 458 TouchActionPinchZoom = 0x8, | 436 TouchActionPinchZoom = 0x8, |
| 459 }; | 437 }; |
| 460 inline TouchAction operator| (TouchAction a, TouchAction b) { return TouchAction
(int(a) | int(b)); } | 438 inline TouchAction operator| (TouchAction a, TouchAction b) { return TouchAction
(int(a) | int(b)); } |
| 461 inline TouchAction& operator|= (TouchAction& a, TouchAction b) { return a = a |
b; } | 439 inline TouchAction& operator|= (TouchAction& a, TouchAction b) { return a = a |
b; } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 static const float maximumAllowedFontSize = 1000000.0f; | 475 static const float maximumAllowedFontSize = 1000000.0f; |
| 498 | 476 |
| 499 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 477 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 500 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 478 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 501 | 479 |
| 502 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 480 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 503 | 481 |
| 504 } // namespace blink | 482 } // namespace blink |
| 505 | 483 |
| 506 #endif // RenderStyleConstants_h | 484 #endif // RenderStyleConstants_h |
| OLD | NEW |