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

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

Issue 682423002: Devtools Animations: Show subtree animations for a given node (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review changes Created 6 years, 1 month 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) 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false); 84 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false);
85 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte rn", ""); 85 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte rn", "");
86 this.skipContentScripts = this.createSetting("skipContentScripts", false); 86 this.skipContentScripts = this.createSetting("skipContentScripts", false);
87 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled", false); 87 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled", false);
88 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f alse); 88 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f alse);
89 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f alse); 89 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f alse);
90 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector", false); 90 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector", false);
91 this.disableOverridesWarning = this.createSetting("disableOverridesWarning", false); 91 this.disableOverridesWarning = this.createSetting("disableOverridesWarning", false);
92 this.testPath = this.createSetting("testPath", ""); 92 this.testPath = this.createSetting("testPath", "");
93 this.frameViewerHideChromeWindow = this.createSetting("frameViewerHideChrome Window", false); 93 this.frameViewerHideChromeWindow = this.createSetting("frameViewerHideChrome Window", false);
94 this.showSubtreeAnimations = this.createSetting("showSubtreeAnimations", tru e);
vsevik 2014/11/12 09:14:35 Let's create this setting inside animation sidebar
samli 2014/11/13 01:12:43 Done.
94 95
95 // Rendering options 96 // Rendering options
96 this.showPaintRects = this.createSetting("showPaintRects", false); 97 this.showPaintRects = this.createSetting("showPaintRects", false);
97 this.showDebugBorders = this.createSetting("showDebugBorders", false); 98 this.showDebugBorders = this.createSetting("showDebugBorders", false);
98 this.showFPSCounter = this.createSetting("showFPSCounter", false); 99 this.showFPSCounter = this.createSetting("showFPSCounter", false);
99 this.continuousPainting = this.createSetting("continuousPainting", false); 100 this.continuousPainting = this.createSetting("continuousPainting", false);
100 this.showScrollBottleneckRects = this.createSetting("showScrollBottleneckRec ts", false); 101 this.showScrollBottleneckRects = this.createSetting("showScrollBottleneckRec ts", false);
101 } 102 }
102 103
103 WebInspector.Settings.prototype = { 104 WebInspector.Settings.prototype = {
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 634
634 _fireChangedIfNeeded: function() 635 _fireChangedIfNeeded: function()
635 { 636 {
636 var newValue = this._calculateValue(); 637 var newValue = this._calculateValue();
637 if (newValue === this._value) 638 if (newValue === this._value)
638 return; 639 return;
639 this._value = newValue; 640 this._value = newValue;
640 this._eventSupport.dispatchEventToListeners(this._name, this._value); 641 this._eventSupport.dispatchEventToListeners(this._name, this._value);
641 } 642 }
642 } 643 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698