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

Side by Side Diff: Source/bindings/core/v8/inspector/V8JavaScriptCallFrame.h

Issue 1157313006: DevTools: extract common inspector bindigns code into InspectorWrapper (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 // 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698