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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 1775
1776 WebInspector.TimelineCategory.prototype = { 1776 WebInspector.TimelineCategory.prototype = {
1777 /** 1777 /**
1778 * @return {boolean} 1778 * @return {boolean}
1779 */ 1779 */
1780 get hidden() 1780 get hidden()
1781 { 1781 {
1782 return this._hidden; 1782 return this._hidden;
1783 }, 1783 },
1784 1784
1785 /**
1786 * @param {boolean} hidden
1787 */
1785 set hidden(hidden) 1788 set hidden(hidden)
1786 { 1789 {
1787 this._hidden = hidden; 1790 this._hidden = hidden;
1788 this.dispatchEventToListeners(WebInspector.TimelineCategory.Events.Visib ilityChanged, this); 1791 this.dispatchEventToListeners(WebInspector.TimelineCategory.Events.Visib ilityChanged, this);
1789 }, 1792 },
1790 1793
1791 __proto__: WebInspector.Object.prototype 1794 __proto__: WebInspector.Object.prototype
1792 }; 1795 };
1793 1796
1794 /** 1797 /**
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
2144 case warnings.V8Deopt: 2147 case warnings.V8Deopt:
2145 span.appendChild(WebInspector.linkifyURLAsNode("https://github.com/Googl eChrome/devtools-docs/issues/53", 2148 span.appendChild(WebInspector.linkifyURLAsNode("https://github.com/Googl eChrome/devtools-docs/issues/53",
2146 WebInspector.UIString("Not optimized"), undefined, true)); 2149 WebInspector.UIString("Not optimized"), undefined, true));
2147 span.createTextChild(WebInspector.UIString(": %s", eventData["deoptReaso n"])); 2150 span.createTextChild(WebInspector.UIString(": %s", eventData["deoptReaso n"]));
2148 break; 2151 break;
2149 default: 2152 default:
2150 console.assert(false, "Unhandled TimelineModel.WarningType"); 2153 console.assert(false, "Unhandled TimelineModel.WarningType");
2151 } 2154 }
2152 return span; 2155 return span;
2153 }; 2156 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698