| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 22 matching lines...) Expand all Loading... |
| 33 maxInlineTextChildLength: 80, | 33 maxInlineTextChildLength: 80, |
| 34 minDrawerHeight: 25, | 34 minDrawerHeight: 25, |
| 35 minSidebarWidth: 100, | 35 minSidebarWidth: 100, |
| 36 minSidebarHeight: 75, | 36 minSidebarHeight: 75, |
| 37 applicationTitle: "Developer Tools - %s", | 37 applicationTitle: "Developer Tools - %s", |
| 38 experimentsEnabled: false | 38 experimentsEnabled: false |
| 39 } | 39 } |
| 40 | 40 |
| 41 var Capabilities = { | 41 var Capabilities = { |
| 42 canInspectWorkers: false, | 42 canInspectWorkers: false, |
| 43 canScreencast: false | |
| 44 } | 43 } |
| 45 | 44 |
| 46 /** | 45 /** |
| 47 * @constructor | 46 * @constructor |
| 48 */ | 47 */ |
| 49 WebInspector.Settings = function() | 48 WebInspector.Settings = function() |
| 50 { | 49 { |
| 51 this._eventSupport = new WebInspector.Object(); | 50 this._eventSupport = new WebInspector.Object(); |
| 52 this._registry = /** @type {!Object.<string, !WebInspector.Setting>} */ ({})
; | 51 this._registry = /** @type {!Object.<string, !WebInspector.Setting>} */ ({})
; |
| 53 | 52 |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 { | 569 { |
| 571 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused | 570 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused |
| 572 // periodical breakpoints duplication leading to inspector slowness. | 571 // periodical breakpoints duplication leading to inspector slowness. |
| 573 if (breakpointsSetting.get().length > maxBreakpointsCount) | 572 if (breakpointsSetting.get().length > maxBreakpointsCount) |
| 574 breakpointsSetting.set([]); | 573 breakpointsSetting.set([]); |
| 575 } | 574 } |
| 576 } | 575 } |
| 577 | 576 |
| 578 WebInspector.settings = new WebInspector.Settings(); | 577 WebInspector.settings = new WebInspector.Settings(); |
| 579 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); | 578 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); |
| OLD | NEW |