RESOLVED FIXED70033
Web Inspector: move JS specific popover handling to JavaScriptSourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=70033
Summary Web Inspector: move JS specific popover handling to JavaScriptSourceFrame.
Pavel Podivilov
Reported 2011-10-13 09:41:57 PDT
Web Inspector: move JS specific popover handling to JavaScriptSourceFrame.
Attachments
Patch (16.51 KB, patch)
2011-10-13 09:43 PDT, Pavel Podivilov
pfeldman: review+
Pavel Podivilov
Comment 1 2011-10-13 09:43:36 PDT
Pavel Feldman
Comment 2 2011-10-16 10:37:21 PDT
Comment on attachment 110860 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=110860&action=review > Source/WebCore/inspector/front-end/SourceFrame.js:836 > + shouldShowPopover: function(element) { }, It is not clear what part of extensibility is achieved by means of the delegate versus the abstract methods. You should choose one way of extensibility and stick to it. r- for that.
Pavel Podivilov
Comment 3 2011-10-17 03:48:45 PDT
Extensibility should be achieved by means of the abstract methods. Delegate only serves for eliminating circular dependency between ScriptsPanel and JSSF. Delegate will have just two methods after refactoring: setScriptSourceIsBeingEdited and suggestedFileName. We may even get rid of it completely.
Pavel Feldman
Comment 4 2011-10-17 06:34:57 PDT
Comment on attachment 110860 [details] Patch Ok, I'd like to see delegates gone in the end of this refactoring then.
Pavel Podivilov
Comment 5 2011-10-19 02:47:48 PDT
Note You need to log in before you can comment on or make changes to this bug.