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

Side by Side Diff: Source/bindings/core/v8/ScriptDebugServer.h

Issue 418823002: Add ScriptValue.v8ValueUnsafe() to access the V8 value without cross-context access check. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScriptDebugServer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void stepIntoStatement(); 77 void stepIntoStatement();
78 void stepOverStatement(); 78 void stepOverStatement();
79 void stepOutOfFunction(); 79 void stepOutOfFunction();
80 80
81 bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc riptValue* newCallFrames, RefPtr<JSONObject>* result); 81 bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc riptValue* newCallFrames, RefPtr<JSONObject>* result);
82 ScriptValue currentCallFrames(); 82 ScriptValue currentCallFrames();
83 ScriptValue currentCallFramesForAsyncStack(); 83 ScriptValue currentCallFramesForAsyncStack();
84 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameNoScopes(); 84 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameNoScopes();
85 int frameCount(); 85 int frameCount();
86 86
87 static PassRefPtrWillBeRawPtr<JavaScriptCallFrame> toJavaScriptCallFrame(con st ScriptValue&); 87 static PassRefPtrWillBeRawPtr<JavaScriptCallFrame> toJavaScriptCallFrameUnsa fe(const ScriptValue&);
88 88
89 class Task { 89 class Task {
90 public: 90 public:
91 virtual ~Task() { } 91 virtual ~Task() { }
92 virtual void run() = 0; 92 virtual void run() = 0;
93 }; 93 };
94 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*); 94 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*);
95 void runPendingTasks(); 95 void runPendingTasks();
96 96
97 bool isPaused(); 97 bool isPaused();
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 void handleV8AsyncTaskEvent(ScriptDebugListener*, ScriptState* pausedScriptS tate, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData); 155 void handleV8AsyncTaskEvent(ScriptDebugListener*, ScriptState* pausedScriptS tate, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData);
156 156
157 bool m_runningNestedMessageLoop; 157 bool m_runningNestedMessageLoop;
158 }; 158 };
159 159
160 } // namespace blink 160 } // namespace blink
161 161
162 162
163 #endif // ScriptDebugServer_h 163 #endif // ScriptDebugServer_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698