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

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

Issue 1803813002: [DevTools] Added keyboard search while in sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review input implemented/fixed Created 4 years, 9 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
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 136 }
137 137
138 /** 138 /**
139 * @constructor 139 * @constructor
140 * @extends {WebInspector.NavigatorView} 140 * @extends {WebInspector.NavigatorView}
141 */ 141 */
142 WebInspector.SourcesNavigatorView = function() 142 WebInspector.SourcesNavigatorView = function()
143 { 143 {
144 WebInspector.NavigatorView.call(this); 144 WebInspector.NavigatorView.call(this);
145 WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Event s.InspectedURLChanged, this._inspectedURLChanged, this); 145 WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Event s.InspectedURLChanged, this._inspectedURLChanged, this);
146
147 this._scriptsTree.setInteractiveFilterable(true);
146 } 148 }
147 149
148 WebInspector.SourcesNavigatorView.prototype = { 150 WebInspector.SourcesNavigatorView.prototype = {
149 /** 151 /**
150 * @override 152 * @override
151 * @param {!WebInspector.UISourceCode} uiSourceCode 153 * @param {!WebInspector.UISourceCode} uiSourceCode
152 * @return {boolean} 154 * @return {boolean}
153 */ 155 */
154 accept: function(uiSourceCode) 156 accept: function(uiSourceCode)
155 { 157 {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 /** 291 /**
290 * @override 292 * @override
291 */ 293 */
292 sourceDeleted: function(uiSourceCode) 294 sourceDeleted: function(uiSourceCode)
293 { 295 {
294 this._handleRemoveSnippet(uiSourceCode); 296 this._handleRemoveSnippet(uiSourceCode);
295 }, 297 },
296 298
297 __proto__: WebInspector.NavigatorView.prototype 299 __proto__: WebInspector.NavigatorView.prototype
298 } 300 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698