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

Side by Side Diff: Source/devtools/front_end/common/Settings.js

Issue 548323002: DevTools: Blackbox content scripts - frontend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added a test Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600 ); 75 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600 );
76 this.messageURLFilters = this.createSetting("messageURLFilters", {}); 76 this.messageURLFilters = this.createSetting("messageURLFilters", {});
77 this.networkHideDataURL = this.createSetting("networkHideDataURL", false); 77 this.networkHideDataURL = this.createSetting("networkHideDataURL", false);
78 this.networkResourceTypeFilters = this.createSetting("networkResourceTypeFil ters", {}); 78 this.networkResourceTypeFilters = this.createSetting("networkResourceTypeFil ters", {});
79 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); 79 this.messageLevelFilters = this.createSetting("messageLevelFilters", {});
80 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW henDockedToRight", true); 80 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW henDockedToRight", true);
81 this.visiblePanels = this.createSetting("visiblePanels", {}); 81 this.visiblePanels = this.createSetting("visiblePanels", {});
82 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); 82 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false);
83 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false); 83 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false);
84 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte rn", ""); 84 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte rn", "");
85 this.skipContentScripts = this.createSetting("skipContentScripts", false);
85 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled", false); 86 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled", false);
86 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f alse); 87 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f alse);
87 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f alse); 88 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f alse);
88 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector", false); 89 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector", false);
89 this.disableOverridesWarning = this.createSetting("disableOverridesWarning", false); 90 this.disableOverridesWarning = this.createSetting("disableOverridesWarning", false);
90 91
91 // Rendering options 92 // Rendering options
92 this.showPaintRects = this.createSetting("showPaintRects", false); 93 this.showPaintRects = this.createSetting("showPaintRects", false);
93 this.showDebugBorders = this.createSetting("showDebugBorders", false); 94 this.showDebugBorders = this.createSetting("showDebugBorders", false);
94 this.showFPSCounter = this.createSetting("showFPSCounter", false); 95 this.showFPSCounter = this.createSetting("showFPSCounter", false);
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 804
804 _fireChangedIfNeeded: function() 805 _fireChangedIfNeeded: function()
805 { 806 {
806 var newValue = this._calculateValue(); 807 var newValue = this._calculateValue();
807 if (newValue === this._value) 808 if (newValue === this._value)
808 return; 809 return;
809 this._value = newValue; 810 this._value = newValue;
810 this._eventSupport.dispatchEventToListeners(this._name, this._value); 811 this._eventSupport.dispatchEventToListeners(this._name, this._value);
811 } 812 }
812 } 813 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/bindings/Linkifier.js ('k') | Source/devtools/front_end/console/ConsoleViewMessage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698