| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 this._fileSystemsListContainer = this._fileSystemsSection.createChild("p", "
settings-list-container"); | 380 this._fileSystemsListContainer = this._fileSystemsSection.createChild("p", "
settings-list-container"); |
| 381 | 381 |
| 382 this._addFileSystemRowElement = this._fileSystemsSection.createChild("div"); | 382 this._addFileSystemRowElement = this._fileSystemsSection.createChild("div"); |
| 383 var addFileSystemButton = this._addFileSystemRowElement.createChild("input",
"settings-tab-text-button"); | 383 var addFileSystemButton = this._addFileSystemRowElement.createChild("input",
"settings-tab-text-button"); |
| 384 addFileSystemButton.type = "button"; | 384 addFileSystemButton.type = "button"; |
| 385 addFileSystemButton.value = WebInspector.UIString("Add folder\u2026"); | 385 addFileSystemButton.value = WebInspector.UIString("Add folder\u2026"); |
| 386 addFileSystemButton.addEventListener("click", this._addFileSystemClicked.bin
d(this), false); | 386 addFileSystemButton.addEventListener("click", this._addFileSystemClicked.bin
d(this), false); |
| 387 | 387 |
| 388 this._editFileSystemButton = this._addFileSystemRowElement.createChild("inpu
t", "settings-tab-text-button"); | 388 this._editFileSystemButton = this._addFileSystemRowElement.createChild("inpu
t", "settings-tab-text-button"); |
| 389 this._editFileSystemButton.type = "button"; | 389 this._editFileSystemButton.type = "button"; |
| 390 this._editFileSystemButton.value = WebInspector.UIString("Edit\u2026"); | 390 this._editFileSystemButton.value = WebInspector.UIString("Folder options\u20
26"); |
| 391 this._editFileSystemButton.addEventListener("click", this._editFileSystemCli
cked.bind(this), false); | 391 this._editFileSystemButton.addEventListener("click", this._editFileSystemCli
cked.bind(this), false); |
| 392 this._updateEditFileSystemButtonState(); | 392 this._updateEditFileSystemButtonState(); |
| 393 | 393 |
| 394 this._reset(); | 394 this._reset(); |
| 395 } | 395 } |
| 396 | 396 |
| 397 WebInspector.WorkspaceSettingsTab.prototype = { | 397 WebInspector.WorkspaceSettingsTab.prototype = { |
| 398 wasShown: function() | 398 wasShown: function() |
| 399 { | 399 { |
| 400 WebInspector.SettingsTab.prototype.wasShown.call(this); | 400 WebInspector.SettingsTab.prototype.wasShown.call(this); |
| (...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 var columnId = columns[i]; | 1054 var columnId = columns[i]; |
| 1055 var inputElement = this._addInputElements[columnId]; | 1055 var inputElement = this._addInputElements[columnId]; |
| 1056 inputElement.value = ""; | 1056 inputElement.value = ""; |
| 1057 } | 1057 } |
| 1058 }, | 1058 }, |
| 1059 | 1059 |
| 1060 __proto__: WebInspector.SettingsList.prototype | 1060 __proto__: WebInspector.SettingsList.prototype |
| 1061 } | 1061 } |
| 1062 | 1062 |
| 1063 WebInspector._settingsController = new WebInspector.SettingsController(); | 1063 WebInspector._settingsController = new WebInspector.SettingsController(); |
| OLD | NEW |