Skip to content
  • podivilov@chromium.org's avatar
    Web Inspector: introduce JavaScriptSourceFrame class. · 29e99a46
    podivilov@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=67838
    
    SourceFrame should not deal with JavaScript debugging since it is a base class for all source frame implementations.
    
    Reviewed by Pavel Feldman.
    
    * WebCore.gypi:
    * WebCore.vcproj/WebCore.vcproj:
    * inspector/front-end/JavaScriptSourceFrame.js: Added.
    (WebInspector.JavaScriptSourceFrame):
    (WebInspector.SourceFrameDelegateForScriptsPanel): moved from ScriptsPanel.js
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.debuggingSupported):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setBreakpoint):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.updateBreakpoint):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.removeBreakpoint):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.findBreakpoint):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.continueToLine):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.canEditScriptSource):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSource):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSourceIsBeingEdited):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.debuggerPaused):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.evaluateInSelectedCallFrame):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.releaseEvaluationResult):
    (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.suggestedFileName):
    * inspector/front-end/ScriptsPanel.js:
    (WebInspector.ScriptsPanel.prototype._createSourceFrame):
    * inspector/front-end/WebKit.qrc:
    * inspector/front-end/inspector.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    29e99a46