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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h

Issue 1406993009: Revert "CSS Custom Properties (Variables)" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h
deleted file mode 100644
index fb832cce7387278e5194fafec140e2e1e10fc54d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CSSVariableResolver_h
-#define CSSVariableResolver_h
-
-#include "core/CSSPropertyNames.h"
-#include "core/css/parser/CSSParserToken.h"
-#include "wtf/HashSet.h"
-#include "wtf/text/AtomicString.h"
-#include "wtf/text/AtomicStringHash.h"
-
-namespace blink {
-
-class CSSVariableReferenceValue;
-class StyleResolverState;
-class StyleVariableData;
-
-class CSSVariableResolver {
-public:
- static void resolveVariableDefinitions(StyleVariableData*);
- static void resolveAndApplyVariableReferences(StyleResolverState&, CSSPropertyID, const CSSVariableReferenceValue&);
-
-private:
- CSSVariableResolver(StyleVariableData*);
- CSSVariableResolver(StyleVariableData*, AtomicString& variable);
-
- unsigned resolveVariableTokensRecursive(Vector<CSSParserToken>&, unsigned startOffset);
- void resolveVariableReferencesFromTokens(Vector<CSSParserToken>& tokens);
-
- StyleVariableData* m_styleVariableData;
- HashSet<AtomicString> m_variablesSeen;
- bool m_cycleDetected;
-};
-
-} // namespace blink
-
-#endif // CSSVariableResolver

Powered by Google App Engine
This is Rietveld 408576698