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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2365263002: Added isComputedStyle::isDisplayTableType() and made it static (Closed)
Patch Set: Created 4 years, 2 months 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) 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 448
449 // The order of this enum must match the order of the display values in CSSValue Keywords.in. 449 // The order of this enum must match the order of the display values in CSSValue Keywords.in.
450 enum EDisplay { 450 enum EDisplay {
451 INLINE, BLOCK, LIST_ITEM, INLINE_BLOCK, 451 INLINE, BLOCK, LIST_ITEM, INLINE_BLOCK,
452 TABLE, INLINE_TABLE, TABLE_ROW_GROUP, 452 TABLE, INLINE_TABLE, TABLE_ROW_GROUP,
453 TABLE_HEADER_GROUP, TABLE_FOOTER_GROUP, TABLE_ROW, 453 TABLE_HEADER_GROUP, TABLE_FOOTER_GROUP, TABLE_ROW,
454 TABLE_COLUMN_GROUP, TABLE_COLUMN, TABLE_CELL, 454 TABLE_COLUMN_GROUP, TABLE_COLUMN, TABLE_CELL,
455 TABLE_CAPTION, BOX, INLINE_BOX, 455 TABLE_CAPTION, BOX, INLINE_BOX,
456 FLEX, INLINE_FLEX, 456 FLEX, INLINE_FLEX,
457 GRID, INLINE_GRID, 457 GRID, INLINE_GRID,
458 NONE, 458 NONE
459 FIRST_TABLE_DISPLAY = TABLE,
460 LAST_TABLE_DISPLAY = TABLE_CAPTION
461 }; 459 };
462 460
463 enum EInsideLink { 461 enum EInsideLink {
464 NotInsideLink, InsideUnvisitedLink, InsideVisitedLink 462 NotInsideLink, InsideUnvisitedLink, InsideVisitedLink
465 }; 463 };
466 464
467 enum EPointerEvents { 465 enum EPointerEvents {
468 PE_NONE, PE_AUTO, PE_STROKE, PE_FILL, PE_PAINTED, PE_VISIBLE, 466 PE_NONE, PE_AUTO, PE_STROKE, PE_FILL, PE_PAINTED, PE_VISIBLE,
469 PE_VISIBLE_STROKE, PE_VISIBLE_FILL, PE_VISIBLE_PAINTED, PE_BOUNDINGBOX, 467 PE_VISIBLE_STROKE, PE_VISIBLE_FILL, PE_VISIBLE_PAINTED, PE_BOUNDINGBOX,
470 PE_ALL 468 PE_ALL
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 620
623 enum AutoRepeatType { 621 enum AutoRepeatType {
624 NoAutoRepeat, 622 NoAutoRepeat,
625 AutoFill, 623 AutoFill,
626 AutoFit 624 AutoFit
627 }; 625 };
628 626
629 } // namespace blink 627 } // namespace blink
630 628
631 #endif // ComputedStyleConstants_h 629 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698