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

Unified Diff: Source/devtools/front_end/NavigatorView.js

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/Linkifier.js ('k') | Source/devtools/front_end/ResourceUtils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/NavigatorView.js
diff --git a/Source/devtools/front_end/NavigatorView.js b/Source/devtools/front_end/NavigatorView.js
index 072e56c7a5cc1ce37ec9eb0f2ee14f0c26c70acf..481ffe37bcf10d20d2035535883d997a4841e66f 100644
--- a/Source/devtools/front_end/NavigatorView.js
+++ b/Source/devtools/front_end/NavigatorView.js
@@ -174,7 +174,7 @@ WebInspector.NavigatorView.prototype = {
* @param {WebInspector.UISourceCode} uiSourceCode
* @param {boolean} focusSource
*/
- _scriptSelected: function(uiSourceCode, focusSource)
+ _sourceSelected: function(uiSourceCode, focusSource)
{
this._lastSelectedUISourceCode = uiSourceCode;
var data = { uiSourceCode: uiSourceCode, focusSource: focusSource};
@@ -213,7 +213,7 @@ WebInspector.NavigatorView.prototype = {
*/
requestRename: function(uiSourceCode)
{
- this.dispatchEventToListeners(WebInspector.ScriptsNavigator.Events.ItemRenamingRequested, uiSourceCode);
+ this.dispatchEventToListeners(WebInspector.SourcesNavigator.Events.ItemRenamingRequested, uiSourceCode);
},
/**
@@ -649,7 +649,7 @@ WebInspector.NavigatorSourceTreeElement.prototype = {
onspace: function()
{
- this._navigatorView._scriptSelected(this.uiSourceCode, true);
+ this._navigatorView._sourceSelected(this.uiSourceCode, true);
return true;
},
@@ -658,7 +658,7 @@ WebInspector.NavigatorSourceTreeElement.prototype = {
*/
_onclick: function(event)
{
- this._navigatorView._scriptSelected(this.uiSourceCode, false);
+ this._navigatorView._sourceSelected(this.uiSourceCode, false);
},
/**
@@ -667,12 +667,12 @@ WebInspector.NavigatorSourceTreeElement.prototype = {
ondblclick: function(event)
{
var middleClick = event.button === 1;
- this._navigatorView._scriptSelected(this.uiSourceCode, !middleClick);
+ this._navigatorView._sourceSelected(this.uiSourceCode, !middleClick);
},
onenter: function()
{
- this._navigatorView._scriptSelected(this.uiSourceCode, true);
+ this._navigatorView._sourceSelected(this.uiSourceCode, true);
return true;
},
« no previous file with comments | « Source/devtools/front_end/Linkifier.js ('k') | Source/devtools/front_end/ResourceUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698