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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 { | 919 { |
920 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo
del.breakpointsActive()); | 920 WebInspector.debuggerModel.setBreakpointsActive(!WebInspector.debuggerMo
del.breakpointsActive()); |
921 }, | 921 }, |
922 | 922 |
923 _breakpointsActiveStateChanged: function(event) | 923 _breakpointsActiveStateChanged: function(event) |
924 { | 924 { |
925 var active = event.data; | 925 var active = event.data; |
926 this._toggleBreakpointsButton.toggled = !active; | 926 this._toggleBreakpointsButton.toggled = !active; |
927 if (active) { | 927 if (active) { |
928 this._toggleBreakpointsButton.title = WebInspector.UIString("Deactiv
ate breakpoints."); | 928 this._toggleBreakpointsButton.title = WebInspector.UIString("Deactiv
ate breakpoints."); |
929 WebInspector.inspectorView.element.removeStyleClass("breakpoints-dea
ctivated"); | 929 this._editorContainer.view.element.removeStyleClass("breakpoints-dea
ctivated"); |
930 this.sidebarPanes.jsBreakpoints.listElement.removeStyleClass("breakp
oints-list-deactivated"); | 930 this.sidebarPanes.jsBreakpoints.listElement.removeStyleClass("breakp
oints-list-deactivated"); |
931 } else { | 931 } else { |
932 this._toggleBreakpointsButton.title = WebInspector.UIString("Activat
e breakpoints."); | 932 this._toggleBreakpointsButton.title = WebInspector.UIString("Activat
e breakpoints."); |
933 WebInspector.inspectorView.element.addStyleClass("breakpoints-deacti
vated"); | 933 this._editorContainer.view.element.addStyleClass("breakpoints-deacti
vated"); |
934 this.sidebarPanes.jsBreakpoints.listElement.addStyleClass("breakpoin
ts-list-deactivated"); | 934 this.sidebarPanes.jsBreakpoints.listElement.addStyleClass("breakpoin
ts-list-deactivated"); |
935 } | 935 } |
936 }, | 936 }, |
937 | 937 |
938 _createDebugToolbar: function() | 938 _createDebugToolbar: function() |
939 { | 939 { |
940 var debugToolbar = document.createElement("div"); | 940 var debugToolbar = document.createElement("div"); |
941 debugToolbar.className = "status-bar"; | 941 debugToolbar.className = "status-bar"; |
942 debugToolbar.id = "scripts-debug-toolbar"; | 942 debugToolbar.id = "scripts-debug-toolbar"; |
943 | 943 |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1664 WebInspector.DrawerEditorView = function() | 1664 WebInspector.DrawerEditorView = function() |
1665 { | 1665 { |
1666 WebInspector.View.call(this); | 1666 WebInspector.View.call(this); |
1667 this.element.id = "drawer-editor-view"; | 1667 this.element.id = "drawer-editor-view"; |
1668 this.element.addStyleClass("vbox"); | 1668 this.element.addStyleClass("vbox"); |
1669 } | 1669 } |
1670 | 1670 |
1671 WebInspector.DrawerEditorView.prototype = { | 1671 WebInspector.DrawerEditorView.prototype = { |
1672 __proto__: WebInspector.View.prototype | 1672 __proto__: WebInspector.View.prototype |
1673 } | 1673 } |
OLD | NEW |