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

Side by Side Diff: Source/devtools/front_end/sources/SourcesNavigator.js

Issue 301163005: DevTools: [JSDoc] Avoid partial arg list annotations in code except "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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) 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 10 *
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 this._navigatorViews = new StringMap(); 44 this._navigatorViews = new StringMap();
45 } 45 }
46 46
47 WebInspector.SourcesNavigator.Events = { 47 WebInspector.SourcesNavigator.Events = {
48 SourceSelected: "SourceSelected", 48 SourceSelected: "SourceSelected",
49 SourceRenamed: "SourceRenamed" 49 SourceRenamed: "SourceRenamed"
50 } 50 }
51 51
52 WebInspector.SourcesNavigator.prototype = { 52 WebInspector.SourcesNavigator.prototype = {
53 /** 53 /**
54 * @param {string} id
54 * @param {!WebInspector.View} view 55 * @param {!WebInspector.View} view
55 */ 56 */
56 _navigatorViewCreated: function(id, view) 57 _navigatorViewCreated: function(id, view)
57 { 58 {
58 var navigatorView = /** @type {!WebInspector.NavigatorView} */ (view); 59 var navigatorView = /** @type {!WebInspector.NavigatorView} */ (view);
59 navigatorView.addEventListener(WebInspector.NavigatorView.Events.ItemSel ected, this._sourceSelected, this); 60 navigatorView.addEventListener(WebInspector.NavigatorView.Events.ItemSel ected, this._sourceSelected, this);
60 navigatorView.addEventListener(WebInspector.NavigatorView.Events.ItemRen amed, this._sourceRenamed, this); 61 navigatorView.addEventListener(WebInspector.NavigatorView.Events.ItemRen amed, this._sourceRenamed, this);
61 this._navigatorViews.put(id, navigatorView); 62 this._navigatorViews.put(id, navigatorView);
62 navigatorView.setWorkspace(this._workspace); 63 navigatorView.setWorkspace(this._workspace);
63 }, 64 },
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 /** 196 /**
196 * @override 197 * @override
197 */ 198 */
198 sourceDeleted: function(uiSourceCode) 199 sourceDeleted: function(uiSourceCode)
199 { 200 {
200 this._handleRemoveSnippet(uiSourceCode); 201 this._handleRemoveSnippet(uiSourceCode);
201 }, 202 },
202 203
203 __proto__: WebInspector.NavigatorView.prototype 204 __proto__: WebInspector.NavigatorView.prototype
204 } 205 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sources/FilteredItemSelectionDialog.js ('k') | Source/devtools/front_end/sources/SourcesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698