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

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

Issue 129063002: Update CSS classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/CSSPageRule.h ('k') | Source/core/css/CSSRuleList.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 /* 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 19 matching lines...) Expand all
30 30
31 #ifndef CSSRegionRule_h 31 #ifndef CSSRegionRule_h
32 #define CSSRegionRule_h 32 #define CSSRegionRule_h
33 33
34 #include "core/css/CSSGroupingRule.h" 34 #include "core/css/CSSGroupingRule.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class StyleRuleRegion; 38 class StyleRuleRegion;
39 39
40 class CSSRegionRule : public CSSGroupingRule { 40 class CSSRegionRule FINAL : public CSSGroupingRule {
41 public: 41 public:
42 static PassRefPtr<CSSRegionRule> create(StyleRuleRegion* rule, CSSStyleSheet * sheet) { return adoptRef(new CSSRegionRule(rule, sheet)); } 42 static PassRefPtr<CSSRegionRule> create(StyleRuleRegion* rule, CSSStyleSheet * sheet) { return adoptRef(new CSSRegionRule(rule, sheet)); }
43 43
44 virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_REGION_RULE; } 44 virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_REGION_RULE; }
45 virtual String cssText() const OVERRIDE; 45 virtual String cssText() const OVERRIDE;
46 46
47 private: 47 private:
48 CSSRegionRule(StyleRuleRegion*, CSSStyleSheet* parent); 48 CSSRegionRule(StyleRuleRegion*, CSSStyleSheet* parent);
49 }; 49 };
50 50
51 DEFINE_CSS_RULE_TYPE_CASTS(CSSRegionRule, WEBKIT_REGION_RULE); 51 DEFINE_CSS_RULE_TYPE_CASTS(CSSRegionRule, WEBKIT_REGION_RULE);
52 52
53 } 53 }
54 54
55 #endif // CSSRegionRule_h 55 #endif // CSSRegionRule_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSPageRule.h ('k') | Source/core/css/CSSRuleList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698