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: third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h

Issue 1921143002: [DevTools] Align Console implementation with The JSey way (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-part-command-line-api-to-native
Patch Set: Created 4 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 v8::MaybeLocal<v8::Value> evaluate(v8::Local<v8::Value> expression); 58 v8::MaybeLocal<v8::Value> evaluate(v8::Local<v8::Value> expression);
59 v8::MaybeLocal<v8::Value> restart(); 59 v8::MaybeLocal<v8::Value> restart();
60 v8::MaybeLocal<v8::Value> setVariableValue(int scopeNumber, v8::Local<v8::Va lue> variableName, v8::Local<v8::Value> newValue); 60 v8::MaybeLocal<v8::Value> setVariableValue(int scopeNumber, v8::Local<v8::Va lue> variableName, v8::Local<v8::Value> newValue);
61 private: 61 private:
62 JavaScriptCallFrame(v8::Local<v8::Context> debuggerContext, v8::Local<v8::Ob ject> callFrame); 62 JavaScriptCallFrame(v8::Local<v8::Context> debuggerContext, v8::Local<v8::Ob ject> callFrame);
63 63
64 int callV8FunctionReturnInt(const char* name) const; 64 int callV8FunctionReturnInt(const char* name) const;
65 65
66 v8::Isolate* m_isolate; 66 v8::Isolate* m_isolate;
67 OwnPtr<JavaScriptCallFrame> m_caller;
68 v8::Global<v8::Context> m_debuggerContext; 67 v8::Global<v8::Context> m_debuggerContext;
69 v8::Global<v8::Object> m_callFrame; 68 v8::Global<v8::Object> m_callFrame;
70 v8::Global<v8::FunctionTemplate> m_wrapperTemplate;
71 }; 69 };
72 70
73 using JavaScriptCallFrames = protocol::Vector<OwnPtr<JavaScriptCallFrame>>; 71 using JavaScriptCallFrames = protocol::Vector<OwnPtr<JavaScriptCallFrame>>;
74 72
75 } // namespace blink 73 } // namespace blink
76 74
77 #endif // JavaScriptCallFrame_h 75 #endif // JavaScriptCallFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698