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

Side by Side Diff: Source/devtools/front_end/resources/ResourcesPanel.js

Issue 1264133002: Devtools: [WIP] Implement enhanced devtools extension language APIs Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modify override dropdown to apply to console completions & transpile Created 5 years, 4 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) 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
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 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
2328 } 2328 }
2329 2329
2330 WebInspector.FileSystemTreeElement.prototype = { 2330 WebInspector.FileSystemTreeElement.prototype = {
2331 get fileSystemName() 2331 get fileSystemName()
2332 { 2332 {
2333 return this._fileSystem.name; 2333 return this._fileSystem.name;
2334 }, 2334 },
2335 2335
2336 get itemURL() 2336 get itemURL()
2337 { 2337 {
2338 return "filesystem://" + this._fileSystem.name; 2338 return "filesystem:" + this._fileSystem.name;
pfeldman 2015/08/13 21:15:46 This is only used to restore last used item.
wes 2015/08/14 00:55:05 This may be pedantic, but it's the result of going
pfeldman 2015/08/17 21:15:51 Right, except for these are used for different pur
wes 2015/08/25 18:13:18 Okay - but why is there also both filesystem: and
2339 }, 2339 },
2340 2340
2341 /** 2341 /**
2342 * @override 2342 * @override
2343 * @return {boolean} 2343 * @return {boolean}
2344 */ 2344 */
2345 onselect: function(selectedByUser) 2345 onselect: function(selectedByUser)
2346 { 2346 {
2347 WebInspector.BaseStorageTreeElement.prototype.onselect.call(this, select edByUser); 2347 WebInspector.BaseStorageTreeElement.prototype.onselect.call(this, select edByUser);
2348 this._fileSystemView = new WebInspector.FileSystemView(this._fileSystem) ; 2348 this._fileSystemView = new WebInspector.FileSystemView(this._fileSystem) ;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2415 WebInspector.ResourcesPanelFactory.prototype = { 2415 WebInspector.ResourcesPanelFactory.prototype = {
2416 /** 2416 /**
2417 * @override 2417 * @override
2418 * @return {!WebInspector.Panel} 2418 * @return {!WebInspector.Panel}
2419 */ 2419 */
2420 createPanel: function() 2420 createPanel: function()
2421 { 2421 {
2422 return WebInspector.ResourcesPanel._instance(); 2422 return WebInspector.ResourcesPanel._instance();
2423 } 2423 }
2424 } 2424 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698