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

Side by Side Diff: Source/WebCore/bindings/js/ScriptDebugServer.h

Issue 9375012: Merge 106662 - inspector/debugger/pause-in-inline-script.html asserts in chromium debug (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | Source/WebCore/bindings/v8/ScriptDebugServer.h » ('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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 bool canSetScriptSource(); 84 bool canSetScriptSource();
85 bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, ScriptValue* newCallFrames, ScriptObject* result); 85 bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, ScriptValue* newCallFrames, ScriptObject* result);
86 86
87 bool causesRecompilation() { return true; } 87 bool causesRecompilation() { return true; }
88 bool supportsNativeBreakpoints() { return false; } 88 bool supportsNativeBreakpoints() { return false; }
89 89
90 void recompileAllJSFunctionsSoon(); 90 void recompileAllJSFunctionsSoon();
91 virtual void recompileAllJSFunctions(Timer<ScriptDebugServer>* = 0) = 0; 91 virtual void recompileAllJSFunctions(Timer<ScriptDebugServer>* = 0) = 0;
92 92
93 bool isPaused() { return m_paused; }
94
93 protected: 95 protected:
94 typedef HashSet<ScriptDebugListener*> ListenerSet; 96 typedef HashSet<ScriptDebugListener*> ListenerSet;
95 typedef void (ScriptDebugServer::*JavaScriptExecutionCallback)(ScriptDebugLi stener*); 97 typedef void (ScriptDebugServer::*JavaScriptExecutionCallback)(ScriptDebugLi stener*);
96 98
97 ScriptDebugServer(); 99 ScriptDebugServer();
98 ~ScriptDebugServer(); 100 ~ScriptDebugServer();
99 101
100 virtual ListenerSet* getListenersForGlobalObject(JSC::JSGlobalObject*) = 0; 102 virtual ListenerSet* getListenersForGlobalObject(JSC::JSGlobalObject*) = 0;
101 virtual void didPause(JSC::JSGlobalObject*) = 0; 103 virtual void didPause(JSC::JSGlobalObject*) = 0;
102 virtual void didContinue(JSC::JSGlobalObject*) = 0; 104 virtual void didContinue(JSC::JSGlobalObject*) = 0;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 RefPtr<JavaScriptCallFrame> m_currentCallFrame; 142 RefPtr<JavaScriptCallFrame> m_currentCallFrame;
141 SourceIdToBreakpointsMap m_sourceIdToBreakpoints; 143 SourceIdToBreakpointsMap m_sourceIdToBreakpoints;
142 Timer<ScriptDebugServer> m_recompileTimer; 144 Timer<ScriptDebugServer> m_recompileTimer;
143 }; 145 };
144 146
145 } // namespace WebCore 147 } // namespace WebCore
146 148
147 #endif // ENABLE(JAVASCRIPT_DEBUGGER) 149 #endif // ENABLE(JAVASCRIPT_DEBUGGER)
148 150
149 #endif // ScriptDebugServer_h 151 #endif // ScriptDebugServer_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/bindings/v8/ScriptDebugServer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698