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

Side by Side Diff: Source/core/css/CSSBasicShapes.cpp

Issue 18733007: core/css: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 years, 5 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/css/CSSBasicShapes.h ('k') | Source/core/css/CSSBorderImageSliceValue.h » ('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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 10 matching lines...) Expand all
21 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 21 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 27 * SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "config.h" 30 #include "config.h"
31
32 #include "core/css/CSSBasicShapes.h" 31 #include "core/css/CSSBasicShapes.h"
33 32
34 #include <wtf/text/StringBuilder.h> 33 #include "wtf/text/StringBuilder.h"
35 34
36 using namespace WTF; 35 using namespace WTF;
37 36
38 namespace WebCore { 37 namespace WebCore {
39 38
40 static String buildRectangleString(const String& x, const String& y, const Strin g& width, const String& height, const String& radiusX, const String& radiusY) 39 static String buildRectangleString(const String& x, const String& y, const Strin g& width, const String& height, const String& radiusX, const String& radiusY)
41 { 40 {
42 char opening[] = "rectangle("; 41 char opening[] = "rectangle(";
43 char separator[] = ", "; 42 char separator[] = ", ";
44 StringBuilder result; 43 StringBuilder result;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 return m_top->hasVariableReference() 324 return m_top->hasVariableReference()
326 || m_right->hasVariableReference() 325 || m_right->hasVariableReference()
327 || m_bottom->hasVariableReference() 326 || m_bottom->hasVariableReference()
328 || m_left->hasVariableReference() 327 || m_left->hasVariableReference()
329 || (m_radiusX.get() && m_radiusX->hasVariableReference()) 328 || (m_radiusX.get() && m_radiusX->hasVariableReference())
330 || (m_radiusY.get() && m_radiusY->hasVariableReference()); 329 || (m_radiusY.get() && m_radiusY->hasVariableReference());
331 } 330 }
332 331
333 } // namespace WebCore 332 } // namespace WebCore
334 333
OLDNEW
« no previous file with comments | « Source/core/css/CSSBasicShapes.h ('k') | Source/core/css/CSSBorderImageSliceValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698