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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/CSSPropertyEqualityCustom.h.tmpl

Issue 1910263003: Generate CSSPropertyEquality instead of using hand-updated file. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests2! Created 4 years, 6 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CSSPropertyEqualityCustom_h
6 #define CSSPropertyEqualityCustom_h
7
8 namespace blink {
9
10 class ComputedStyle;
11
12 class CSSPropertyEqualityCustom {
13 public:
14 {% for property_id, property in properties.items() if property.custom_all %}
15 static bool {{property_id}}Equal(const ComputedStyle&, const ComputedStyle& b);
16 {% endfor %}
17 };
18
19 } // namespace blink
20
21 #endif // CSSPropertyEqualityCustom_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698