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

Side by Side Diff: Source/core/css/WebKitCSSRegionRule.h

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New version Created 7 years, 7 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
« no previous file with comments | « Source/core/css/StyleRule.cpp ('k') | Source/core/css/WebKitCSSRegionRule.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * Copyright (C) 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above 9 * 1. Redistributions of source code must retain the above
10 * copyright notice, this list of conditions and the following 10 * copyright notice, this list of conditions and the following
(...skipping 15 matching lines...) Expand all
26 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 26 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE. 28 * SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebKitCSSRegionRule_h 31 #ifndef WebKitCSSRegionRule_h
32 #define WebKitCSSRegionRule_h 32 #define WebKitCSSRegionRule_h
33 33
34 #include "core/css/CSSGroupingRule.h" 34 #include "core/css/CSSGroupingRule.h"
35 35
36 #if ENABLE(CSS_REGIONS)
37
38 namespace WebCore { 36 namespace WebCore {
39 37
40 class StyleRuleRegion; 38 class StyleRuleRegion;
41 39
42 class WebKitCSSRegionRule : public CSSGroupingRule { 40 class WebKitCSSRegionRule : public CSSGroupingRule {
43 public: 41 public:
44 static PassRefPtr<WebKitCSSRegionRule> create(StyleRuleRegion* rule, CSSStyl eSheet* sheet) { return adoptRef(new WebKitCSSRegionRule(rule, sheet)); } 42 static PassRefPtr<WebKitCSSRegionRule> create(StyleRuleRegion* rule, CSSStyl eSheet* sheet) { return adoptRef(new WebKitCSSRegionRule(rule, sheet)); }
45 43
46 virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_REGION_RULE; } 44 virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_REGION_RULE; }
47 virtual String cssText() const OVERRIDE; 45 virtual String cssText() const OVERRIDE;
48 46
49 private: 47 private:
50 WebKitCSSRegionRule(StyleRuleRegion*, CSSStyleSheet* parent); 48 WebKitCSSRegionRule(StyleRuleRegion*, CSSStyleSheet* parent);
51 }; 49 };
52 50
53 } 51 }
54 52
55 #endif // ENABLE(CSS_REGIONS)
56
57 #endif // WebKitCSSRegionRule_h 53 #endif // WebKitCSSRegionRule_h
OLDNEW
« no previous file with comments | « Source/core/css/StyleRule.cpp ('k') | Source/core/css/WebKitCSSRegionRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698