-
podivilov@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: make SourceFrame TextViewer's delegate for editing operations. https://bugs.webkit.org/show_bug.cgi?id=58026 This is the first step of decoupling TextViewer from SourceFrame. * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame): (WebInspector.SourceFrame.prototype.show): (WebInspector.SourceFrame.prototype.hide): (WebInspector.SourceFrame.prototype._ensureContentLoaded): (WebInspector.SourceFrame.prototype.contentEditable): (WebInspector.SourceFrame.prototype.startEditing): (WebInspector.SourceFrame.prototype.endEditing): (WebInspector.SourceFrame.prototype._createTextViewer): (WebInspector.SourceFrame.prototype._handleSave): (WebInspector.SourceFrame.prototype._handleRevertEditing): * inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype._enterInternalTextChangeMode): (WebInspector.TextViewer.prototype._exitInternalTextChangeMode): (WebInspector.TextViewer.prototype._syncDecorationsForLine): (WebInspector.TextViewer.prototype._doubleClick): (WebInspector.TextViewerDelegate): (WebInspector.TextViewerDelegate.prototype.contentEditable): (WebInspector.TextViewerDelegate.prototype.startEditing): (WebInspector.TextViewerDelegate.prototype.endEditing): (WebInspector.TextEditorMainPanel.prototype._paintScheduledLines): (WebInspector.TextEditorMainPanel.prototype._handleDOMUpdates): * inspector/front-end/inspector.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9a8b7d06