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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 * @constructor 406 * @constructor
407 * @extends {WebInspector.VBox} 407 * @extends {WebInspector.VBox}
408 */ 408 */
409 WebInspector.DOMBreakpointsSidebarPane.Proxy = function() 409 WebInspector.DOMBreakpointsSidebarPane.Proxy = function()
410 { 410 {
411 WebInspector.VBox.call(this); 411 WebInspector.VBox.call(this);
412 this.registerRequiredCSS("components/breakpointsList.css"); 412 this.registerRequiredCSS("components/breakpointsList.css");
413 }; 413 };
414 414
415 WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = { 415 WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = {
416 /**
417 * @override
418 */
416 wasShown: function() 419 wasShown: function()
417 { 420 {
418 WebInspector.SimpleView.prototype.wasShown.call(this); 421 WebInspector.VBox.prototype.wasShown.call(this);
419 var pane = WebInspector.domBreakpointsSidebarPane; 422 var pane = WebInspector.domBreakpointsSidebarPane;
420 if (pane.element.parentNode !== this.element) 423 if (pane.element.parentNode !== this.element)
421 pane.show(this.element); 424 pane.show(this.element);
422 }, 425 },
423 426
424 __proto__: WebInspector.VBox.prototype 427 __proto__: WebInspector.VBox.prototype
425 }; 428 };
426 429
427 /** 430 /**
428 * @type {!WebInspector.DOMBreakpointsSidebarPane} 431 * @type {!WebInspector.DOMBreakpointsSidebarPane}
429 */ 432 */
430 WebInspector.domBreakpointsSidebarPane; 433 WebInspector.domBreakpointsSidebarPane;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698