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

Side by Side Diff: sky/engine/core/rendering/style/RenderStyleConstants.h

Issue 762473003: Remove webkit-print-color-adjust (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19 matching lines...) Expand all
30 30
31 enum StyleRecalcChange { 31 enum StyleRecalcChange {
32 NoChange, 32 NoChange,
33 NoInherit, 33 NoInherit,
34 Inherit, 34 Inherit,
35 Force, 35 Force,
36 Reattach, 36 Reattach,
37 ReattachNoRenderer 37 ReattachNoRenderer
38 }; 38 };
39 39
40 static const size_t PrintColorAdjustBits = 1;
41 enum PrintColorAdjust {
42 PrintColorAdjustEconomy,
43 PrintColorAdjustExact
44 };
45
46 // Static pseudo styles. Dynamic ones are produced on the fly. 40 // Static pseudo styles. Dynamic ones are produced on the fly.
47 enum PseudoId { 41 enum PseudoId {
48 // The order must be NOP ID, public IDs, and then internal IDs. 42 // The order must be NOP ID, public IDs, and then internal IDs.
49 // If you add or remove a public ID, you must update _pseudoBits in RenderSt yle. 43 // If you add or remove a public ID, you must update _pseudoBits in RenderSt yle.
50 NOPSEUDO, FIRST_LINE, SELECTION, FIRST_LINE_INHERITED, SCROLLBAR, 44 NOPSEUDO, FIRST_LINE, SELECTION, FIRST_LINE_INHERITED, SCROLLBAR,
51 // Internal IDs follow: 45 // Internal IDs follow:
52 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S CROLLBAR_CORNER, RESIZER, INPUT_LIST_BUTTON, 46 SCROLLBAR_THUMB, SCROLLBAR_BUTTON, SCROLLBAR_TRACK, SCROLLBAR_TRACK_PIECE, S CROLLBAR_CORNER, RESIZER, INPUT_LIST_BUTTON,
53 // Special values follow: 47 // Special values follow:
54 AFTER_LAST_INTERNAL_PSEUDOID, 48 AFTER_LAST_INTERNAL_PSEUDOID,
55 FIRST_PUBLIC_PSEUDOID = FIRST_LINE, 49 FIRST_PUBLIC_PSEUDOID = FIRST_LINE,
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 static const float maximumAllowedFontSize = 1000000.0f; 449 static const float maximumAllowedFontSize = 1000000.0f;
456 450
457 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 451 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
458 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 452 enum TextIndentType { TextIndentNormal, TextIndentHanging };
459 453
460 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 454 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
461 455
462 } // namespace blink 456 } // namespace blink
463 457
464 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ 458 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698