| OLD | NEW |
| 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 V8JavaScriptCallFrame_h | 5 #ifndef V8JavaScriptCallFrame_h |
| 6 #define V8JavaScriptCallFrame_h | 6 #define V8JavaScriptCallFrame_h |
| 7 | 7 |
| 8 #include "core/inspector/JavaScriptCallFrame.h" | 8 #include "wtf/Forward.h" |
| 9 #include <v8.h> |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 13 class JavaScriptCallFrame; |
| 14 |
| 12 class V8JavaScriptCallFrame { | 15 class V8JavaScriptCallFrame { |
| 13 public: | 16 public: |
| 14 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); | 17 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); |
| 15 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo
rTemplate, v8::Local<v8::Context>, PassRefPtr<JavaScriptCallFrame>); | 18 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo
rTemplate, v8::Local<v8::Context>, PassRefPtr<JavaScriptCallFrame>); |
| 16 static JavaScriptCallFrame* unwrap(v8::Local<v8::Object>); | 19 static JavaScriptCallFrame* unwrap(v8::Local<v8::Object>); |
| 17 | |
| 18 private: | |
| 19 static v8::Local<v8::String> hiddenPropertyName(v8::Isolate*); | |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace blink | 22 } // namespace blink |
| 23 | 23 |
| 24 #endif // V8JavaScriptCallFrame_h | 24 #endif // V8JavaScriptCallFrame_h |
| OLD | NEW |