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

Side by Side Diff: sky/engine/core/css/CSSSupportsRule.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/css/CSSStyleSheet.cpp ('k') | sky/engine/core/css/CSSTimingFunctionValue.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 /* 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 return adoptRef(new CSSSupportsRule(rule, sheet)); 43 return adoptRef(new CSSSupportsRule(rule, sheet));
44 } 44 }
45 45
46 virtual ~CSSSupportsRule() { } 46 virtual ~CSSSupportsRule() { }
47 47
48 virtual CSSRule::Type type() const override { return SUPPORTS_RULE; } 48 virtual CSSRule::Type type() const override { return SUPPORTS_RULE; }
49 virtual String cssText() const override; 49 virtual String cssText() const override;
50 50
51 String conditionText() const; 51 String conditionText() const;
52 52
53 virtual void trace(Visitor* visitor) override { CSSGroupingRule::trace(visit or); }
54
55 private: 53 private:
56 CSSSupportsRule(StyleRuleSupports*, CSSStyleSheet*); 54 CSSSupportsRule(StyleRuleSupports*, CSSStyleSheet*);
57 }; 55 };
58 56
59 DEFINE_CSS_RULE_TYPE_CASTS(CSSSupportsRule, SUPPORTS_RULE); 57 DEFINE_CSS_RULE_TYPE_CASTS(CSSSupportsRule, SUPPORTS_RULE);
60 58
61 } // namespace blink 59 } // namespace blink
62 60
63 #endif // CSSSupportsRule_h 61 #endif // CSSSupportsRule_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSStyleSheet.cpp ('k') | sky/engine/core/css/CSSTimingFunctionValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698