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

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

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed http/tests/serviceworker/fetch\* regression Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. 3 * Copyright (C) 2012 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 v8::Local<v8::Value> v8DoneIteratorResult(v8::Isolate*); 1015 v8::Local<v8::Value> v8DoneIteratorResult(v8::Isolate*);
1016 1016
1017 // Returns an object representing {done: false, value: |value|}. 1017 // Returns an object representing {done: false, value: |value|}.
1018 v8::Local<v8::Value> v8IteratorResult(v8::Isolate*, v8::Handle<v8::Value>); 1018 v8::Local<v8::Value> v8IteratorResult(v8::Isolate*, v8::Handle<v8::Value>);
1019 template <typename T> 1019 template <typename T>
1020 v8::Local<v8::Value> v8IteratorResult(ScriptState* scriptState, const T& value) 1020 v8::Local<v8::Value> v8IteratorResult(ScriptState* scriptState, const T& value)
1021 { 1021 {
1022 return v8IteratorResult(scriptState->isolate(), V8ValueTraits<T>::toV8Value( value, scriptState->context()->Global(), scriptState->isolate())); 1022 return v8IteratorResult(scriptState->isolate(), V8ValueTraits<T>::toV8Value( value, scriptState->context()->Global(), scriptState->isolate()));
1023 } 1023 }
1024 1024
1025 typedef void (*InstallTemplateFunction)(v8::Handle<v8::FunctionTemplate>, v8::Is olate*);
haraken 2014/10/09 04:24:00 I'd add this to V8DOMConfiguration.h.
1026
1025 } // namespace blink 1027 } // namespace blink
1026 1028
1027 #endif // V8Binding_h 1029 #endif // V8Binding_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698