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

Side by Side Diff: third_party/WebKit/Source/core/dom/DatasetDOMStringMap.h

Issue 2676663006: Remove SetWrapperReferenceTo and SetWrapperReferenceFrom (Closed)
Patch Set: Rebase on master Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple 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 29 matching lines...) Expand all
40 } 40 }
41 41
42 void getNames(Vector<String>&) override; 42 void getNames(Vector<String>&) override;
43 String item(const String& name) override; 43 String item(const String& name) override;
44 bool contains(const String& name) override; 44 bool contains(const String& name) override;
45 void setItem(const String& name, 45 void setItem(const String& name,
46 const String& value, 46 const String& value,
47 ExceptionState&) override; 47 ExceptionState&) override;
48 bool deleteItem(const String& name) override; 48 bool deleteItem(const String& name) override;
49 49
50 Element* element() override { return m_element; }
51
52 DECLARE_VIRTUAL_TRACE(); 50 DECLARE_VIRTUAL_TRACE();
53 51
54 private: 52 private:
55 explicit DatasetDOMStringMap(Element* element) : m_element(element) {} 53 explicit DatasetDOMStringMap(Element* element) : m_element(element) {}
56 54
57 Member<Element> m_element; 55 Member<Element> m_element;
58 }; 56 };
59 57
60 } // namespace blink 58 } // namespace blink
61 59
62 #endif // DatasetDOMStringMap_h 60 #endif // DatasetDOMStringMap_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMTokenList.idl ('k') | third_party/WebKit/Source/core/dom/NamedNodeMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698