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

Side by Side Diff: Source/bindings/core/v8/Dictionary.h

Issue 715583008: Remove Dictionary::getOwnPropertyNames() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « no previous file | Source/bindings/core/v8/Dictionary.cpp » ('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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 { 117 {
118 m_context.resetPerPropertyContext(); 118 m_context.resetPerPropertyContext();
119 } 119 }
120 private: 120 private:
121 ConversionContext& m_context; 121 ConversionContext& m_context;
122 }; 122 };
123 123
124 bool convert(ConversionContext&, const String&, Dictionary&) const; 124 bool convert(ConversionContext&, const String&, Dictionary&) const;
125 125
126 bool getOwnPropertiesAsStringHashMap(HashMap<String, String>&) const; 126 bool getOwnPropertiesAsStringHashMap(HashMap<String, String>&) const;
127 bool getOwnPropertyNames(Vector<String>&) const;
128 bool getPropertyNames(Vector<String>&) const; 127 bool getPropertyNames(Vector<String>&) const;
129 128
130 bool getWithUndefinedOrNullCheck(const String&, String&) const; 129 bool getWithUndefinedOrNullCheck(const String&, String&) const;
131 bool getWithUndefinedOrNullCheck(const String&, RefPtrWillBeMember<Element>& ) const; 130 bool getWithUndefinedOrNullCheck(const String&, RefPtrWillBeMember<Element>& ) const;
132 bool getWithUndefinedOrNullCheck(const String&, RefPtrWillBeMember<Path2D>&) const; 131 bool getWithUndefinedOrNullCheck(const String&, RefPtrWillBeMember<Path2D>&) const;
133 132
134 bool hasProperty(const String&) const; 133 bool hasProperty(const String&) const;
135 134
136 v8::Isolate* isolate() const { return m_isolate; } 135 v8::Isolate* isolate() const { return m_isolate; }
137 136
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, T& value); 172 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, T& value);
174 template <typename T> 173 template <typename T>
175 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, Nullable<T>& value); 174 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, Nullable<T>& value);
176 template <template <typename> class PointerType, typename T> 175 template <template <typename> class PointerType, typename T>
177 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, PointerType<T>& value); 176 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, PointerType<T>& value);
178 }; 177 };
179 178
180 } 179 }
181 180
182 #endif // Dictionary_h 181 #endif // Dictionary_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698