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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 { | 935 { |
936 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo
del.breakpointsActive()); | 936 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo
del.breakpointsActive()); |
937 }, | 937 }, |
938 | 938 |
939 _breakpointsActiveStateChanged: function(event) | 939 _breakpointsActiveStateChanged: function(event) |
940 { | 940 { |
941 var active = event.data; | 941 var active = event.data; |
942 this._toggleBreakpointsButton.toggled = !active; | 942 this._toggleBreakpointsButton.toggled = !active; |
943 if (active) { | 943 if (active) { |
944 this._toggleBreakpointsButton.title = WebInspector.UIString("Deactiv
ate breakpoints."); | 944 this._toggleBreakpointsButton.title = WebInspector.UIString("Deactiv
ate breakpoints."); |
945 WebInspector.inspectorView.element.classList.remove("breakpoints-dea
ctivated"); | 945 this._editorContainer.view.element.classList.remove("breakpoints-dea
ctivated"); |
946 this.sidebarPanes.jsBreakpoints.listElement.classList.remove("breakp
oints-list-deactivated"); | 946 this.sidebarPanes.jsBreakpoints.listElement.classList.remove("breakp
oints-list-deactivated"); |
947 } else { | 947 } else { |
948 this._toggleBreakpointsButton.title = WebInspector.UIString("Activat
e breakpoints."); | 948 this._toggleBreakpointsButton.title = WebInspector.UIString("Activat
e breakpoints."); |
949 WebInspector.inspectorView.element.classList.add("breakpoints-deacti
vated"); | 949 this._editorContainer.view.element.classList.add("breakpoints-deacti
vated"); |
950 this.sidebarPanes.jsBreakpoints.listElement.classList.add("breakpoin
ts-list-deactivated"); | 950 this.sidebarPanes.jsBreakpoints.listElement.classList.add("breakpoin
ts-list-deactivated"); |
951 } | 951 } |
952 }, | 952 }, |
953 | 953 |
954 _createDebugToolbar: function() | 954 _createDebugToolbar: function() |
955 { | 955 { |
956 var debugToolbar = document.createElement("div"); | 956 var debugToolbar = document.createElement("div"); |
957 debugToolbar.className = "status-bar"; | 957 debugToolbar.className = "status-bar"; |
958 debugToolbar.id = "scripts-debug-toolbar"; | 958 debugToolbar.id = "scripts-debug-toolbar"; |
959 | 959 |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1683 WebInspector.DrawerEditorView = function() | 1683 WebInspector.DrawerEditorView = function() |
1684 { | 1684 { |
1685 WebInspector.View.call(this); | 1685 WebInspector.View.call(this); |
1686 this.element.id = "drawer-editor-view"; | 1686 this.element.id = "drawer-editor-view"; |
1687 this.element.classList.add("vbox"); | 1687 this.element.classList.add("vbox"); |
1688 } | 1688 } |
1689 | 1689 |
1690 WebInspector.DrawerEditorView.prototype = { | 1690 WebInspector.DrawerEditorView.prototype = { |
1691 __proto__: WebInspector.View.prototype | 1691 __proto__: WebInspector.View.prototype |
1692 } | 1692 } |
OLD | NEW |