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

Side by Side Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 336693005: Add image-rendering: pixelated. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't add 'pixelated' to devtools. Created 6 years, 6 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 | Annotate | Revision Log
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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 enum TextEmphasisFill { TextEmphasisFillFilled, TextEmphasisFillOpen }; 462 enum TextEmphasisFill { TextEmphasisFillFilled, TextEmphasisFillOpen };
463 463
464 enum TextEmphasisMark { TextEmphasisMarkNone, TextEmphasisMarkAuto, TextEmphasis MarkDot, TextEmphasisMarkCircle, TextEmphasisMarkDoubleCircle, TextEmphasisMarkT riangle, TextEmphasisMarkSesame, TextEmphasisMarkCustom }; 464 enum TextEmphasisMark { TextEmphasisMarkNone, TextEmphasisMarkAuto, TextEmphasis MarkDot, TextEmphasisMarkCircle, TextEmphasisMarkDoubleCircle, TextEmphasisMarkT riangle, TextEmphasisMarkSesame, TextEmphasisMarkCustom };
465 465
466 enum TextEmphasisPosition { TextEmphasisPositionOver, TextEmphasisPositionUnder }; 466 enum TextEmphasisPosition { TextEmphasisPositionOver, TextEmphasisPositionUnder };
467 467
468 enum TextOrientation { TextOrientationVerticalRight, TextOrientationUpright, Tex tOrientationSideways, TextOrientationSidewaysRight }; 468 enum TextOrientation { TextOrientationVerticalRight, TextOrientationUpright, Tex tOrientationSideways, TextOrientationSidewaysRight };
469 469
470 enum TextOverflow { TextOverflowClip = 0, TextOverflowEllipsis }; 470 enum TextOverflow { TextOverflowClip = 0, TextOverflowEllipsis };
471 471
472 enum EImageRendering { ImageRenderingAuto, ImageRenderingOptimizeSpeed, ImageRen deringOptimizeQuality, ImageRenderingOptimizeContrast }; 472 enum EImageRendering { ImageRenderingAuto, ImageRenderingOptimizeSpeed, ImageRen deringOptimizeQuality, ImageRenderingOptimizeContrast, ImageRenderingPixelated } ;
473 473
474 enum ImageResolutionSource { ImageResolutionSpecified = 0, ImageResolutionFromIm age }; 474 enum ImageResolutionSource { ImageResolutionSpecified = 0, ImageResolutionFromIm age };
475 475
476 enum ImageResolutionSnap { ImageResolutionNoSnap = 0, ImageResolutionSnapPixels }; 476 enum ImageResolutionSnap { ImageResolutionNoSnap = 0, ImageResolutionSnapPixels };
477 477
478 enum Order { LogicalOrder = 0, VisualOrder }; 478 enum Order { LogicalOrder = 0, VisualOrder };
479 479
480 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear }; 480 enum WrapFlow { WrapFlowAuto, WrapFlowBoth, WrapFlowStart, WrapFlowEnd, WrapFlow Maximum, WrapFlowClear };
481 481
482 enum WrapThrough { WrapThroughWrap, WrapThroughNone }; 482 enum WrapThrough { WrapThroughWrap, WrapThroughNone };
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 static const float maximumAllowedFontSize = 1000000.0f; 529 static const float maximumAllowedFontSize = 1000000.0f;
530 530
531 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 531 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
532 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 532 enum TextIndentType { TextIndentNormal, TextIndentHanging };
533 533
534 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 534 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
535 535
536 } // namespace WebCore 536 } // namespace WebCore
537 537
538 #endif // RenderStyleConstants_h 538 #endif // RenderStyleConstants_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderHTMLCanvas.cpp ('k') | Source/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698