OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
918 { | 918 { |
919 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo del.breakpointsActive()); | 919 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo del.breakpointsActive()); |
920 }, | 920 }, |
921 | 921 |
922 _breakpointsActiveStateChanged: function(event) | 922 _breakpointsActiveStateChanged: function(event) |
923 { | 923 { |
924 var active = event.data; | 924 var active = event.data; |
925 this._toggleBreakpointsButton.toggled = !active; | 925 this._toggleBreakpointsButton.toggled = !active; |
926 if (active) { | 926 if (active) { |
927 this._toggleBreakpointsButton.title = WebInspector.UIString("Deactiv ate breakpoints."); | 927 this._toggleBreakpointsButton.title = WebInspector.UIString("Deactiv ate breakpoints."); |
928 WebInspector.inspectorView.element.removeStyleClass("breakpoints-dea ctivated"); | 928 WebInspector.inspectorView.container().removeStyleClass("breakpoints -deactivated"); |
pfeldman
2013/11/18 15:07:42
Usage of inspectorView from within panels is disco
dgozman
2013/11/21 16:38:51
Done.
| |
929 this.sidebarPanes.jsBreakpoints.listElement.removeStyleClass("breakp oints-list-deactivated"); | 929 this.sidebarPanes.jsBreakpoints.listElement.removeStyleClass("breakp oints-list-deactivated"); |
930 } else { | 930 } else { |
931 this._toggleBreakpointsButton.title = WebInspector.UIString("Activat e breakpoints."); | 931 this._toggleBreakpointsButton.title = WebInspector.UIString("Activat e breakpoints."); |
932 WebInspector.inspectorView.element.addStyleClass("breakpoints-deacti vated"); | 932 WebInspector.inspectorView.container().addStyleClass("breakpoints-de activated"); |
933 this.sidebarPanes.jsBreakpoints.listElement.addStyleClass("breakpoin ts-list-deactivated"); | 933 this.sidebarPanes.jsBreakpoints.listElement.addStyleClass("breakpoin ts-list-deactivated"); |
934 } | 934 } |
935 }, | 935 }, |
936 | 936 |
937 _createDebugToolbar: function() | 937 _createDebugToolbar: function() |
938 { | 938 { |
939 var debugToolbar = document.createElement("div"); | 939 var debugToolbar = document.createElement("div"); |
940 debugToolbar.className = "status-bar"; | 940 debugToolbar.className = "status-bar"; |
941 debugToolbar.id = "scripts-debug-toolbar"; | 941 debugToolbar.id = "scripts-debug-toolbar"; |
942 | 942 |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1637 WebInspector.DrawerEditorView = function() | 1637 WebInspector.DrawerEditorView = function() |
1638 { | 1638 { |
1639 WebInspector.View.call(this); | 1639 WebInspector.View.call(this); |
1640 this.element.id = "drawer-editor-view"; | 1640 this.element.id = "drawer-editor-view"; |
1641 this.element.addStyleClass("vbox"); | 1641 this.element.addStyleClass("vbox"); |
1642 } | 1642 } |
1643 | 1643 |
1644 WebInspector.DrawerEditorView.prototype = { | 1644 WebInspector.DrawerEditorView.prototype = { |
1645 __proto__: WebInspector.View.prototype | 1645 __proto__: WebInspector.View.prototype |
1646 } | 1646 } |
OLD | NEW |