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

Side by Side Diff: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js

Issue 1085253003: Revert of Revert of DevTools: allow storing devtools preferences on the browser side. [blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 /** 31 /**
32 * @constructor 32 * @constructor
33 * @extends {WebInspector.BreakpointsSidebarPaneBase} 33 * @extends {WebInspector.BreakpointsSidebarPaneBase}
34 */ 34 */
35 WebInspector.DOMBreakpointsSidebarPane = function() 35 WebInspector.DOMBreakpointsSidebarPane = function()
36 { 36 {
37 WebInspector.BreakpointsSidebarPaneBase.call(this, WebInspector.UIString("DO M Breakpoints")); 37 WebInspector.BreakpointsSidebarPaneBase.call(this, WebInspector.UIString("DO M Breakpoints"));
38 this._domBreakpointsSetting = WebInspector.settings.createSetting("domBreakp oints", []); 38 this._domBreakpointsSetting = WebInspector.settings.createLocalSetting("domB reakpoints", []);
39 39
40 this._breakpointElements = {}; 40 this._breakpointElements = {};
41 41
42 this._breakpointTypes = { 42 this._breakpointTypes = {
43 SubtreeModified: "subtree-modified", 43 SubtreeModified: "subtree-modified",
44 AttributeModified: "attribute-modified", 44 AttributeModified: "attribute-modified",
45 NodeRemoved: "node-removed" 45 NodeRemoved: "node-removed"
46 }; 46 };
47 this._breakpointTypeLabels = {}; 47 this._breakpointTypeLabels = {};
48 this._breakpointTypeLabels[this._breakpointTypes.SubtreeModified] = WebInspe ctor.UIString("Subtree Modified"); 48 this._breakpointTypeLabels[this._breakpointTypes.SubtreeModified] = WebInspe ctor.UIString("Subtree Modified");
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 this.element.appendChild(this.bodyElement); 477 this.element.appendChild(this.bodyElement);
478 }, 478 },
479 479
480 __proto__: WebInspector.SidebarPane.prototype 480 __proto__: WebInspector.SidebarPane.prototype
481 } 481 }
482 482
483 /** 483 /**
484 * @type {!WebInspector.DOMBreakpointsSidebarPane} 484 * @type {!WebInspector.DOMBreakpointsSidebarPane}
485 */ 485 */
486 WebInspector.domBreakpointsSidebarPane; 486 WebInspector.domBreakpointsSidebarPane;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/common/Settings.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698