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

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

Issue 1308273007: Make classes and structures in core/inspector fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/core/inspector/v8/V8DebuggerListener.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "wtf/Allocator.h"
8 #include "wtf/Forward.h" 9 #include "wtf/Forward.h"
9 #include <v8.h> 10 #include <v8.h>
10 11
11 namespace blink { 12 namespace blink {
12 13
13 class JavaScriptCallFrame; 14 class JavaScriptCallFrame;
14 15
15 class V8JavaScriptCallFrame { 16 class V8JavaScriptCallFrame {
17 STATIC_ONLY(V8JavaScriptCallFrame);
16 public: 18 public:
17 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*); 19 static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*);
18 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo rTemplate, v8::Local<v8::Context>, PassRefPtr<JavaScriptCallFrame>); 20 static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructo rTemplate, v8::Local<v8::Context>, PassRefPtr<JavaScriptCallFrame>);
19 static JavaScriptCallFrame* unwrap(v8::Local<v8::Object>); 21 static JavaScriptCallFrame* unwrap(v8::Local<v8::Object>);
20 }; 22 };
21 23
22 } // namespace blink 24 } // namespace blink
23 25
24 #endif // V8JavaScriptCallFrame_h 26 #endif // V8JavaScriptCallFrame_h
OLDNEW
« no previous file with comments | « Source/core/inspector/v8/V8DebuggerListener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698