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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
7 * All rights reserved. 7 * All rights reserved.
8 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 8 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
9 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 9 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
10 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 10 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "core/style/ComputedStyle.h" 70 #include "core/style/ComputedStyle.h"
71 #include "core/style/ComputedStyleConstants.h" 71 #include "core/style/ComputedStyleConstants.h"
72 #include "core/style/ContentData.h" 72 #include "core/style/ContentData.h"
73 #include "core/style/CounterContent.h" 73 #include "core/style/CounterContent.h"
74 #include "core/style/QuotesData.h" 74 #include "core/style/QuotesData.h"
75 #include "core/style/SVGComputedStyle.h" 75 #include "core/style/SVGComputedStyle.h"
76 #include "core/style/StyleGeneratedImage.h" 76 #include "core/style/StyleGeneratedImage.h"
77 #include "core/style/StyleInheritedVariables.h" 77 #include "core/style/StyleInheritedVariables.h"
78 #include "core/style/StyleNonInheritedVariables.h" 78 #include "core/style/StyleNonInheritedVariables.h"
79 #include "platform/fonts/FontDescription.h" 79 #include "platform/fonts/FontDescription.h"
80 #include "wtf/MathExtras.h" 80 #include "platform/wtf/MathExtras.h"
81 #include "wtf/PtrUtil.h" 81 #include "platform/wtf/PtrUtil.h"
82 #include "wtf/StdLibExtras.h" 82 #include "platform/wtf/StdLibExtras.h"
83 #include "wtf/Vector.h" 83 #include "platform/wtf/Vector.h"
84 84
85 namespace blink { 85 namespace blink {
86 86
87 namespace { 87 namespace {
88 88
89 static inline bool IsValidVisitedLinkProperty(CSSPropertyID id) { 89 static inline bool IsValidVisitedLinkProperty(CSSPropertyID id) {
90 switch (id) { 90 switch (id) {
91 case CSSPropertyBackgroundColor: 91 case CSSPropertyBackgroundColor:
92 case CSSPropertyBorderLeftColor: 92 case CSSPropertyBorderLeftColor:
93 case CSSPropertyBorderRightColor: 93 case CSSPropertyBorderRightColor:
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 state.Style()->SetCaretColor( 997 state.Style()->SetCaretColor(
998 StyleBuilderConverter::ConvertStyleAutoColor(state, value)); 998 StyleBuilderConverter::ConvertStyleAutoColor(state, value));
999 } 999 }
1000 if (state.ApplyPropertyToVisitedLinkStyle()) { 1000 if (state.ApplyPropertyToVisitedLinkStyle()) {
1001 state.Style()->SetVisitedLinkCaretColor( 1001 state.Style()->SetVisitedLinkCaretColor(
1002 StyleBuilderConverter::ConvertStyleAutoColor(state, value, true)); 1002 StyleBuilderConverter::ConvertStyleAutoColor(state, value, true));
1003 } 1003 }
1004 } 1004 }
1005 1005
1006 } // namespace blink 1006 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698