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

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

Issue 195793009: [CSS Shapes] inset does not properly clamp large corner radii (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove the explicit inline Created 6 years, 9 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
« no previous file with comments | « Source/core/rendering/shapes/Shape.cpp ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "core/rendering/style/StyleTransformData.h" 54 #include "core/rendering/style/StyleTransformData.h"
55 #include "core/rendering/style/StyleVisualData.h" 55 #include "core/rendering/style/StyleVisualData.h"
56 #include "core/rendering/style/StyleWillChangeData.h" 56 #include "core/rendering/style/StyleWillChangeData.h"
57 #include "core/svg/SVGPaint.h" 57 #include "core/svg/SVGPaint.h"
58 #include "platform/Length.h" 58 #include "platform/Length.h"
59 #include "platform/LengthBox.h" 59 #include "platform/LengthBox.h"
60 #include "platform/LengthSize.h" 60 #include "platform/LengthSize.h"
61 #include "platform/ThemeTypes.h" 61 #include "platform/ThemeTypes.h"
62 #include "platform/fonts/FontBaseline.h" 62 #include "platform/fonts/FontBaseline.h"
63 #include "platform/fonts/FontDescription.h" 63 #include "platform/fonts/FontDescription.h"
64 #include "platform/geometry/FloatRoundedRect.h"
64 #include "platform/geometry/LayoutBoxExtent.h" 65 #include "platform/geometry/LayoutBoxExtent.h"
65 #include "platform/geometry/RoundedRect.h" 66 #include "platform/geometry/RoundedRect.h"
66 #include "platform/graphics/Color.h" 67 #include "platform/graphics/Color.h"
67 #include "platform/graphics/GraphicsTypes.h" 68 #include "platform/graphics/GraphicsTypes.h"
68 #include "platform/scroll/ScrollableArea.h" 69 #include "platform/scroll/ScrollableArea.h"
69 #include "platform/text/TextDirection.h" 70 #include "platform/text/TextDirection.h"
70 #include "platform/text/UnicodeBidi.h" 71 #include "platform/text/UnicodeBidi.h"
71 #include "platform/transforms/TransformOperations.h" 72 #include "platform/transforms/TransformOperations.h"
72 #include "wtf/Forward.h" 73 #include "wtf/Forward.h"
73 #include "wtf/OwnPtr.h" 74 #include "wtf/OwnPtr.h"
(...skipping 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 ASSERT(pseudo > NOPSEUDO); 1879 ASSERT(pseudo > NOPSEUDO);
1879 ASSERT(pseudo < FIRST_INTERNAL_PSEUDOID); 1880 ASSERT(pseudo < FIRST_INTERNAL_PSEUDOID);
1880 noninherited_flags._pseudoBits |= 1 << (pseudo - 1); 1881 noninherited_flags._pseudoBits |= 1 << (pseudo - 1);
1881 } 1882 }
1882 1883
1883 inline bool RenderStyle::hasPseudoElementStyle() const 1884 inline bool RenderStyle::hasPseudoElementStyle() const
1884 { 1885 {
1885 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; 1886 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK;
1886 } 1887 }
1887 1888
1889 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1890
1888 } // namespace WebCore 1891 } // namespace WebCore
1889 1892
1890 #endif // RenderStyle_h 1893 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/shapes/Shape.cpp ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698