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

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

Issue 766023002: Rename 'instant' value of scroll-behavior CSS property to 'auto' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/FrameView.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, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 static EImageRendering initialImageRendering() { return ImageRenderingAuto; } 1636 static EImageRendering initialImageRendering() { return ImageRenderingAuto; }
1637 static ImageResolutionSource initialImageResolutionSource() { return ImageRe solutionSpecified; } 1637 static ImageResolutionSource initialImageResolutionSource() { return ImageRe solutionSpecified; }
1638 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu tionNoSnap; } 1638 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu tionNoSnap; }
1639 static float initialImageResolution() { return 1; } 1639 static float initialImageResolution() { return 1; }
1640 static StyleImage* initialBorderImageSource() { return 0; } 1640 static StyleImage* initialBorderImageSource() { return 0; }
1641 static StyleImage* initialMaskBoxImageSource() { return 0; } 1641 static StyleImage* initialMaskBoxImageSource() { return 0; }
1642 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE conomy; } 1642 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE conomy; }
1643 static TouchAction initialTouchAction() { return TouchActionAuto; } 1643 static TouchAction initialTouchAction() { return TouchActionAuto; }
1644 static ShadowList* initialBoxShadow() { return 0; } 1644 static ShadowList* initialBoxShadow() { return 0; }
1645 static ShadowList* initialTextShadow() { return 0; } 1645 static ShadowList* initialTextShadow() { return 0; }
1646 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorInstant ; } 1646 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorAuto; }
1647 static ScrollBlocksOn initialScrollBlocksOn() { return ScrollBlocksOnNone; } 1647 static ScrollBlocksOn initialScrollBlocksOn() { return ScrollBlocksOnNone; }
1648 1648
1649 // The initial value is 'none' for grid tracks. 1649 // The initial value is 'none' for grid tracks.
1650 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr idTrackSize>(); } 1650 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr idTrackSize>(); }
1651 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT rackSize>(); } 1651 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT rackSize>(); }
1652 1652
1653 static GridAutoFlow initialGridAutoFlow() { return AutoFlowRow; } 1653 static GridAutoFlow initialGridAutoFlow() { return AutoFlowRow; }
1654 1654
1655 static GridTrackSize initialGridAutoColumns() { return GridTrackSize(Length( Auto)); } 1655 static GridTrackSize initialGridAutoColumns() { return GridTrackSize(Length( Auto)); }
1656 static GridTrackSize initialGridAutoRows() { return GridTrackSize(Length(Aut o)); } 1656 static GridTrackSize initialGridAutoRows() { return GridTrackSize(Length(Aut o)); }
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1886 inline bool RenderStyle::hasPseudoElementStyle() const 1886 inline bool RenderStyle::hasPseudoElementStyle() const
1887 { 1887 {
1888 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1888 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1889 } 1889 }
1890 1890
1891 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1891 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1892 1892
1893 } // namespace blink 1893 } // namespace blink
1894 1894
1895 #endif // RenderStyle_h 1895 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698