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

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

Issue 309013005: DevTools: Event listener breakpoint should not stop if happened inside framework. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 years, 6 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 | « Source/bindings/v8/DebuggerScript.js ('k') | Source/bindings/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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void breakProgram(); 73 void breakProgram();
74 void continueProgram(); 74 void continueProgram();
75 void stepIntoStatement(); 75 void stepIntoStatement();
76 void stepOverStatement(const ScriptValue& frame); 76 void stepOverStatement(const ScriptValue& frame);
77 void stepOutOfFunction(const ScriptValue& frame); 77 void stepOutOfFunction(const ScriptValue& frame);
78 78
79 bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc riptValue* newCallFrames, RefPtr<JSONObject>* result); 79 bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, Sc riptValue* newCallFrames, RefPtr<JSONObject>* result);
80 ScriptValue currentCallFrames(); 80 ScriptValue currentCallFrames();
81 ScriptValue currentCallFramesForAsyncStack(); 81 ScriptValue currentCallFramesForAsyncStack();
82 PassRefPtr<JavaScriptCallFrame> topCallFrameNoScopes(); 82 PassRefPtr<JavaScriptCallFrame> topCallFrameNoScopes();
83 int frameCount();
83 84
84 class Task { 85 class Task {
85 public: 86 public:
86 virtual ~Task() { } 87 virtual ~Task() { }
87 virtual void run() = 0; 88 virtual void run() = 0;
88 }; 89 };
89 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*); 90 static void interruptAndRun(PassOwnPtr<Task>, v8::Isolate*);
90 void runPendingTasks(); 91 void runPendingTasks();
91 92
92 bool isPaused(); 93 bool isPaused();
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void stepCommandWithFrame(const char* functionName, const ScriptValue& frame ); 148 void stepCommandWithFrame(const char* functionName, const ScriptValue& frame );
148 PassRefPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit, ScopeInfoDe tails); 149 PassRefPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit, ScopeInfoDe tails);
149 150
150 bool m_runningNestedMessageLoop; 151 bool m_runningNestedMessageLoop;
151 }; 152 };
152 153
153 } // namespace WebCore 154 } // namespace WebCore
154 155
155 156
156 #endif // ScriptDebugServer_h 157 #endif // ScriptDebugServer_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/DebuggerScript.js ('k') | Source/bindings/v8/ScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698