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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js

Issue 2744553003: DevTools: enable persistence2.0 experiment by default (Closed)
Patch Set: rebaseline Created 3 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/Main.js ('k') | no next file » | 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) 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 Workspace.IsolatedFileSystemManager.Events.FileSystemAdded, this._fileSy stemAdded, this); 282 Workspace.IsolatedFileSystemManager.Events.FileSystemAdded, this._fileSy stemAdded, this);
283 Workspace.isolatedFileSystemManager.addEventListener( 283 Workspace.isolatedFileSystemManager.addEventListener(
284 Workspace.IsolatedFileSystemManager.Events.FileSystemRemoved, this._file SystemRemoved, this); 284 Workspace.IsolatedFileSystemManager.Events.FileSystemRemoved, this._file SystemRemoved, this);
285 285
286 var folderExcludePatternInput = this._createFolderExcludePatternInput(); 286 var folderExcludePatternInput = this._createFolderExcludePatternInput();
287 folderExcludePatternInput.classList.add('folder-exclude-pattern'); 287 folderExcludePatternInput.classList.add('folder-exclude-pattern');
288 this.containerElement.appendChild(folderExcludePatternInput); 288 this.containerElement.appendChild(folderExcludePatternInput);
289 289
290 if (Runtime.experiments.isEnabled('persistence2')) { 290 if (Runtime.experiments.isEnabled('persistence2')) {
291 var div = this.containerElement.createChild('div', 'settings-info-message' ); 291 var div = this.containerElement.createChild('div', 'settings-info-message' );
292 div.createTextChild( 292 div.createTextChild(Common.UIString('Mappings are inferred automatically. Please '));
293 Common.UIString('Mappings are inferred automatically via the \'Persist ence 2.0\' experiment. Please '));
294 div.appendChild(UI.createExternalLink( 293 div.appendChild(UI.createExternalLink(
295 'https://bugs.chromium.org/p/chromium/issues/entry?template=Defect%20r eport%20from%20user&components=Platform%3EDevTools%3EAuthoring&comment=DevTools% 20failed%20to%20link%20network%20resource%20to%20filesystem.%0A%0APlatform%3A%20 %3CLinux%2FWin%2FMac%3E%0AChrome%20version%3A%20%3Cyour%20chrome%20version%3E%0A %0AWhat%20are%20the%20details%20of%20your%20project%3F%0A-%20Source%20code%20(if %20any)%3A%20http%3A%2F%2Fgithub.com%2Fexample%2Fexample%0A-%20Build%20System%3A %20gulp%2Fgrunt%2Fwebpack%2Frollup%2F...%0A-%20HTTP%20server%3A%20node%20HTTP%2F nginx%2Fapache...%0A%0AAssets%20failed%20to%20link%20(or%20incorrectly%20linked) %3A%0A1.%0A2.%0A3.%0A%0AIf%20possible%2C%20please%20attach%20a%20screenshot%20of %20network%20sources%20navigator%20which%20should%0Ashow%20which%20resources%20f ailed%20to%20map', 294 'https://bugs.chromium.org/p/chromium/issues/entry?template=Defect%20r eport%20from%20user&components=Platform%3EDevTools%3EAuthoring&comment=DevTools% 20failed%20to%20link%20network%20resource%20to%20filesystem.%0A%0APlatform%3A%20 %3CLinux%2FWin%2FMac%3E%0AChrome%20version%3A%20%3Cyour%20chrome%20version%3E%0A %0AWhat%20are%20the%20details%20of%20your%20project%3F%0A-%20Source%20code%20(if %20any)%3A%20http%3A%2F%2Fgithub.com%2Fexample%2Fexample%0A-%20Build%20System%3A %20gulp%2Fgrunt%2Fwebpack%2Frollup%2F...%0A-%20HTTP%20server%3A%20node%20HTTP%2F nginx%2Fapache...%0A%0AAssets%20failed%20to%20link%20(or%20incorrectly%20linked) %3A%0A1.%0A2.%0A3.%0A%0AIf%20possible%2C%20please%20attach%20a%20screenshot%20of %20network%20sources%20navigator%20which%20should%0Ashow%20which%20resources%20f ailed%20to%20map',
296 Common.UIString('report'))); 295 Common.UIString('report')));
297 div.createTextChild(Common.UIString(' any bugs.')); 296 div.createTextChild(Common.UIString(' any bugs.'));
298 } 297 }
299 298
300 this._fileSystemsListContainer = this.containerElement.createChild('div', '' ); 299 this._fileSystemsListContainer = this.containerElement.createChild('div', '' );
301 300
302 this.containerElement.appendChild( 301 this.containerElement.appendChild(
303 UI.createTextButton(Common.UIString('Add folder\u2026'), this._addFileSy stemClicked.bind(this))); 302 UI.createTextButton(Common.UIString('Add folder\u2026'), this._addFileSy stemClicked.bind(this)));
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 return; 544 return;
546 var settings = extension.descriptor()['settings']; 545 var settings = extension.descriptor()['settings'];
547 if (settings && settings.indexOf(setting.name) !== -1) { 546 if (settings && settings.indexOf(setting.name) !== -1) {
548 InspectorFrontendHost.bringToFront(); 547 InspectorFrontendHost.bringToFront();
549 Settings.SettingsScreen._showSettingsScreen(extension.descriptor()['id'] ); 548 Settings.SettingsScreen._showSettingsScreen(extension.descriptor()['id'] );
550 success = true; 549 success = true;
551 } 550 }
552 } 551 }
553 } 552 }
554 }; 553 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698