| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This file is for functions that are used only by generated code. | 5 // This file is for functions that are used only by generated code. |
| 6 // CAUTION: | 6 // CAUTION: |
| 7 // All functions defined in this file should be used by generated code only. | 7 // All functions defined in this file should be used by generated code only. |
| 8 // If you want to use them from hand-written code, please find appropriate | 8 // If you want to use them from hand-written code, please find appropriate |
| 9 // location and move them to that location. | 9 // location and move them to that location. |
| 10 | 10 |
| 11 #ifndef GeneratedCodeHelper_h | 11 #ifndef GeneratedCodeHelper_h |
| 12 #define GeneratedCodeHelper_h | 12 #define GeneratedCodeHelper_h |
| 13 | 13 |
| 14 #include "core/CoreExport.h" | 14 #include "core/CoreExport.h" |
| 15 #include "wtf/PassRefPtr.h" |
| 15 #include <v8.h> | 16 #include <v8.h> |
| 16 | 17 |
| 17 namespace blink { | 18 namespace blink { |
| 18 | 19 |
| 20 class SerializedScriptValue; |
| 21 |
| 19 CORE_EXPORT void v8ConstructorAttributeGetter(v8::Local<v8::Name> propertyName,
const v8::PropertyCallbackInfo<v8::Value>&); | 22 CORE_EXPORT void v8ConstructorAttributeGetter(v8::Local<v8::Name> propertyName,
const v8::PropertyCallbackInfo<v8::Value>&); |
| 20 | 23 |
| 24 CORE_EXPORT v8::Local<v8::Value> v8Deserialize(v8::Isolate*, PassRefPtr<Serializ
edScriptValue>); |
| 25 |
| 21 } // namespace blink | 26 } // namespace blink |
| 22 | 27 |
| 23 #endif // GeneratedCodeHelper_h | 28 #endif // GeneratedCodeHelper_h |
| OLD | NEW |