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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSSupportsRule.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 /* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved. 1 /* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved.
2 * 2 *
3 * Redistribution and use in source and binary forms, with or without 3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that the following conditions are 4 * modification, are permitted provided that the following conditions are
5 * met: 5 * met:
6 * 6 *
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above 9 * 2. Redistributions in binary form must reproduce the above
10 * copyright notice, this list of conditions and the following disclaimer in 10 * copyright notice, this list of conditions and the following disclaimer in
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 String cssText() const override; 48 String cssText() const override;
49 49
50 String conditionText() const; 50 String conditionText() const;
51 51
52 DEFINE_INLINE_VIRTUAL_TRACE() { CSSGroupingRule::trace(visitor); } 52 DEFINE_INLINE_VIRTUAL_TRACE() { CSSGroupingRule::trace(visitor); }
53 53
54 private: 54 private:
55 CSSSupportsRule(StyleRuleSupports*, CSSStyleSheet*); 55 CSSSupportsRule(StyleRuleSupports*, CSSStyleSheet*);
56 56
57 CSSRule::Type type() const override { return SUPPORTS_RULE; } 57 CSSRule::Type type() const override { return kSupportsRule; }
58 }; 58 };
59 59
60 DEFINE_CSS_RULE_TYPE_CASTS(CSSSupportsRule, SUPPORTS_RULE); 60 DEFINE_CSS_RULE_TYPE_CASTS(CSSSupportsRule, kSupportsRule);
61 61
62 } // namespace blink 62 } // namespace blink
63 63
64 #endif // CSSSupportsRule_h 64 #endif // CSSSupportsRule_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSStyleSheet.cpp ('k') | third_party/WebKit/Source/core/css/CSSViewportRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698