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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/Iterable.h

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase Created 3 years, 7 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef Iterable_h 5 #ifndef Iterable_h
6 #define Iterable_h 6 #define Iterable_h
7 7
8 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/core/v8/V8IteratorResultValue.h" 9 #include "bindings/core/v8/V8IteratorResultValue.h"
9 #include "bindings/core/v8/V8ScriptRunner.h" 10 #include "bindings/core/v8/V8ScriptRunner.h"
10 #include "core/dom/ExecutionContext.h" 11 #include "core/dom/ExecutionContext.h"
11 #include "core/dom/Iterator.h" 12 #include "core/dom/Iterator.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 // Typically, you should use PairIterable<> (below) instead. 16 // Typically, you should use PairIterable<> (below) instead.
16 // Also, note that value iterators are set up automatically by the bindings 17 // Also, note that value iterators are set up automatically by the bindings
17 // code and the operations below come directly from V8. 18 // code and the operations below come directly from V8.
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 public: 181 public:
181 Iterator* GetIterator(ScriptState* script_state, 182 Iterator* GetIterator(ScriptState* script_state,
182 ExceptionState& exception_state) { 183 ExceptionState& exception_state) {
183 return this->entriesForBinding(script_state, exception_state); 184 return this->entriesForBinding(script_state, exception_state);
184 } 185 }
185 }; 186 };
186 187
187 } // namespace blink 188 } // namespace blink
188 189
189 #endif // Iterable_h 190 #endif // Iterable_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/IDLTypes.h ('k') | third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698