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

Side by Side Diff: Source/core/inspector/JavaScriptCallFrame.h

Issue 19064004: Support re-reading scope variables in protocol and on backed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: follow code review Created 7 years, 5 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 int column() const; 55 int column() const;
56 String functionName() const; 56 String functionName() const;
57 57
58 v8::Handle<v8::Value> scopeChain() const; 58 v8::Handle<v8::Value> scopeChain() const;
59 int scopeType(int scopeIndex) const; 59 int scopeType(int scopeIndex) const;
60 v8::Handle<v8::Value> thisObject() const; 60 v8::Handle<v8::Value> thisObject() const;
61 61
62 v8::Handle<v8::Value> evaluate(const String& expression); 62 v8::Handle<v8::Value> evaluate(const String& expression);
63 v8::Handle<v8::Value> restart(); 63 v8::Handle<v8::Value> restart();
64 v8::Handle<v8::Value> setVariableValue(int scopeNumber, const String& variab leName, v8::Handle<v8::Value> newValue); 64 v8::Handle<v8::Value> setVariableValue(int scopeNumber, const String& variab leName, v8::Handle<v8::Value> newValue);
65 void rereadScopes();
65 66
66 private: 67 private:
67 JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8:: Object> callFrame); 68 JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8:: Object> callFrame);
68 69
69 RefPtr<JavaScriptCallFrame> m_caller; 70 RefPtr<JavaScriptCallFrame> m_caller;
70 ScopedPersistent<v8::Context> m_debuggerContext; 71 ScopedPersistent<v8::Context> m_debuggerContext;
71 ScopedPersistent<v8::Object> m_callFrame; 72 ScopedPersistent<v8::Object> m_callFrame;
72 v8::Isolate* m_isolate; 73 v8::Isolate* m_isolate;
73 }; 74 };
74 75
75 } // namespace WebCore 76 } // namespace WebCore
76 77
77 78
78 #endif // JavaScriptCallFrame_h 79 #endif // JavaScriptCallFrame_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | Source/core/inspector/JavaScriptCallFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698