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

Side by Side Diff: sky/engine/core/dom/DOMTokenList.h

Issue 709203002: Remove more 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/dom/DOMSettableTokenList.h ('k') | sky/engine/core/dom/Document.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
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 copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 #include "bindings/core/v8/ScriptWrappable.h" 28 #include "bindings/core/v8/ScriptWrappable.h"
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 #include "wtf/Vector.h" 30 #include "wtf/Vector.h"
31 #include "wtf/text/AtomicString.h" 31 #include "wtf/text/AtomicString.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class Element; 35 class Element;
36 class ExceptionState; 36 class ExceptionState;
37 37
38 class DOMTokenList : public DummyBase<DOMTokenList>, public ScriptWrappable { 38 class DOMTokenList : public ScriptWrappable {
39 DEFINE_WRAPPERTYPEINFO(); 39 DEFINE_WRAPPERTYPEINFO();
40 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 40 WTF_MAKE_FAST_ALLOCATED;
41 WTF_MAKE_NONCOPYABLE(DOMTokenList); 41 WTF_MAKE_NONCOPYABLE(DOMTokenList);
42 public: 42 public:
43 DOMTokenList() 43 DOMTokenList()
44 { 44 {
45 ScriptWrappable::init(this); 45 ScriptWrappable::init(this);
46 } 46 }
47 virtual ~DOMTokenList() { } 47 virtual ~DOMTokenList() { }
48 48
49 #if !ENABLE(OILPAN) 49 #if !ENABLE(OILPAN)
50 virtual void ref() = 0; 50 virtual void ref() = 0;
(...skipping 29 matching lines...) Expand all
80 static bool validateTokens(const Vector<String>&, ExceptionState&); 80 static bool validateTokens(const Vector<String>&, ExceptionState&);
81 static AtomicString addToken(const AtomicString&, const AtomicString&); 81 static AtomicString addToken(const AtomicString&, const AtomicString&);
82 static AtomicString addTokens(const AtomicString&, const Vector<String>&); 82 static AtomicString addTokens(const AtomicString&, const Vector<String>&);
83 static AtomicString removeToken(const AtomicString&, const AtomicString&); 83 static AtomicString removeToken(const AtomicString&, const AtomicString&);
84 static AtomicString removeTokens(const AtomicString&, const Vector<String>&) ; 84 static AtomicString removeTokens(const AtomicString&, const Vector<String>&) ;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif // DOMTokenList_h 89 #endif // DOMTokenList_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/DOMSettableTokenList.h ('k') | sky/engine/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698