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

Side by Side Diff: Source/devtools/front_end/main/Main.js

Issue 340513003: DevTools: Add JSDoc for static methods, fix JSDoc types and induced errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch Created 6 years, 6 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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 new WebInspector.Main(); 814 new WebInspector.Main();
815 815
816 // These methods are added for backwards compatibility with Devtools CodeSchool extension. 816 // These methods are added for backwards compatibility with Devtools CodeSchool extension.
817 // DO NOT REMOVE 817 // DO NOT REMOVE
818 818
819 WebInspector.__defineGetter__("inspectedPageURL", function() 819 WebInspector.__defineGetter__("inspectedPageURL", function()
820 { 820 {
821 return WebInspector.resourceTreeModel.inspectedPageURL(); 821 return WebInspector.resourceTreeModel.inspectedPageURL();
822 }); 822 });
823 823
824 /**
825 * @param {string} name
826 * @return {?WebInspector.Panel}
827 */
824 WebInspector.panel = function(name) 828 WebInspector.panel = function(name)
825 { 829 {
826 return WebInspector.inspectorView.panel(name); 830 return WebInspector.inspectorView.panel(name);
827 } 831 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/layers/PaintProfilerView.js ('k') | Source/devtools/front_end/network/NetworkPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698