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

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

Issue 667583003: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: Created 6 years, 2 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> callFrameNoScopes(int index); 79 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> callFrameNoScopes(int index);
80 int frameCount(); 80 int frameCount();
81 81
82 static PassRefPtrWillBeRawPtr<JavaScriptCallFrame> toJavaScriptCallFrameUnsa fe(const ScriptValue&); 82 static PassRefPtrWillBeRawPtr<JavaScriptCallFrame> toJavaScriptCallFrameUnsa fe(const ScriptValue&);
83 83
84 class Task { 84 class Task {
85 public: 85 public:
86 virtual ~Task() { } 86 virtual ~Task() { }
87 virtual void run() = 0; 87 virtual void run() = 0;
88 }; 88 };
89 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*); 89 static void interruptAndRun(v8::Isolate*, PassOwnPtr<Task>);
90 void runPendingTasks(); 90 void runPendingTasks();
91 91
92 bool isPaused(); 92 bool isPaused();
93 bool runningNestedMessageLoop() { return m_runningNestedMessageLoop; } 93 bool runningNestedMessageLoop() { return m_runningNestedMessageLoop; }
94 94
95 v8::Local<v8::Value> functionScopes(v8::Handle<v8::Function>); 95 v8::Local<v8::Value> functionScopes(v8::Handle<v8::Function>);
96 v8::Local<v8::Value> collectionEntries(v8::Handle<v8::Object>&); 96 v8::Local<v8::Value> collectionEntries(v8::Handle<v8::Object>&);
97 v8::Local<v8::Value> getInternalProperties(v8::Handle<v8::Object>&); 97 v8::Local<v8::Value> getInternalProperties(v8::Handle<v8::Object>&);
98 v8::Handle<v8::Value> setFunctionVariableValue(v8::Handle<v8::Value> functio nValue, int scopeNumber, const String& variableName, v8::Handle<v8::Value> newVa lue); 98 v8::Handle<v8::Value> setFunctionVariableValue(v8::Handle<v8::Value> functio nValue, int scopeNumber, const String& variableName, v8::Handle<v8::Value> newVa lue);
99 v8::Local<v8::Value> callDebuggerMethod(const char* functionName, int argc, v8::Handle<v8::Value> argv[]); 99 v8::Local<v8::Value> callDebuggerMethod(const char* functionName, int argc, v8::Handle<v8::Value> argv[]);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void handleV8PromiseEvent(ScriptDebugListener*, ScriptState* pausedScriptSta te, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData); 154 void handleV8PromiseEvent(ScriptDebugListener*, ScriptState* pausedScriptSta te, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData);
155 155
156 bool m_runningNestedMessageLoop; 156 bool m_runningNestedMessageLoop;
157 }; 157 };
158 158
159 } // namespace blink 159 } // namespace blink
160 160
161 161
162 #endif // ScriptDebugServer_h 162 #endif // ScriptDebugServer_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptController.cpp ('k') | Source/bindings/core/v8/ScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698