Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| index b30b80917250322a04a23f068315e328c561a682..1b0f42b4d02daacf4bbb714b46524d2dc5186496 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js |
| @@ -67,7 +67,6 @@ WebInspector.SourcesPanel = function() |
| this._navigatorTabbedLocation = WebInspector.viewManager.createTabbedLocation(this._revealNavigatorSidebar.bind(this), "navigator-view", true); |
| var tabbedPane = this._navigatorTabbedLocation.tabbedPane(); |
| tabbedPane.setMinimumSize(100, 25); |
| - tabbedPane.setShrinkableTabs(true); |
|
lushnikov
2016/10/01 03:05:34
nicee
|
| tabbedPane.element.classList.add("navigator-tabbed-pane"); |
| var navigatorMenuButton = new WebInspector.ToolbarMenuButton(this._populateNavigatorMenu.bind(this), true); |
| navigatorMenuButton.setTitle(WebInspector.UIString("More options")); |
| @@ -359,6 +358,10 @@ WebInspector.SourcesPanel.prototype = { |
| */ |
| _revealInNavigator: function(uiSourceCode, skipReveal) |
| { |
| + var binding = WebInspector.persistence.binding(uiSourceCode); |
| + if (binding && binding.network === uiSourceCode) |
| + uiSourceCode = binding.fileSystem; |
| + |
| var extensions = self.runtime.extensions(WebInspector.NavigatorView); |
| Promise.all(extensions.map(extension => extension.instance())).then(filterNavigators.bind(this)); |