Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Side by Side Diff: Source/devtools/front_end/SourcesPanel.js

Issue 71633003: DevTools: added "overlayContents" mode, where DevTools content is placed around and underneath inse… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/devtools/front_end/Settings.js ('k') | Source/devtools/front_end/StatusBarButton.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/Settings.js ('k') | Source/devtools/front_end/StatusBarButton.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698