| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |