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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSRuleList.h ('k') | Source/core/css/CSSStyleSheet.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 18 matching lines...) Expand all
29 namespace blink { 29 namespace blink {
30 30
31 class CSSProperty; 31 class CSSProperty;
32 class CSSRule; 32 class CSSRule;
33 class CSSStyleSheet; 33 class CSSStyleSheet;
34 class CSSValue; 34 class CSSValue;
35 class ExceptionState; 35 class ExceptionState;
36 class MutableStylePropertySet; 36 class MutableStylePropertySet;
37 37
38 class CSSStyleDeclaration : public NoBaseWillBeGarbageCollectedFinalized<CSSStyl eDeclaration>, public ScriptWrappable { 38 class CSSStyleDeclaration : public NoBaseWillBeGarbageCollectedFinalized<CSSStyl eDeclaration>, public ScriptWrappable {
39 DEFINE_WRAPPERTYPEINFO();
39 WTF_MAKE_NONCOPYABLE(CSSStyleDeclaration); WTF_MAKE_FAST_ALLOCATED_WILL_BE_R EMOVED; 40 WTF_MAKE_NONCOPYABLE(CSSStyleDeclaration); WTF_MAKE_FAST_ALLOCATED_WILL_BE_R EMOVED;
40 public: 41 public:
41 virtual ~CSSStyleDeclaration() { } 42 virtual ~CSSStyleDeclaration() { }
42 43
43 #if !ENABLE(OILPAN) 44 #if !ENABLE(OILPAN)
44 virtual void ref() = 0; 45 virtual void ref() = 0;
45 virtual void deref() = 0; 46 virtual void deref() = 0;
46 #endif 47 #endif
47 48
48 virtual CSSRule* parentRule() const = 0; 49 virtual CSSRule* parentRule() const = 0;
(...skipping 26 matching lines...) Expand all
75 protected: 76 protected:
76 CSSStyleDeclaration() 77 CSSStyleDeclaration()
77 { 78 {
78 ScriptWrappable::init(this); 79 ScriptWrappable::init(this);
79 } 80 }
80 }; 81 };
81 82
82 } // namespace blink 83 } // namespace blink
83 84
84 #endif // CSSStyleDeclaration_h 85 #endif // CSSStyleDeclaration_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSRuleList.h ('k') | Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698