| Index: third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js b/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
|
| index fb136b0ef97e899ed49d494904b8ebc8cd0a12b1..600f6a01fe49b671d9ce461aebc6bd78393a2445 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
|
| @@ -54,6 +54,15 @@ WebInspector.OpenResourceDialog.prototype = {
|
| return !WebInspector.Project.isServiceProject(project);
|
| },
|
|
|
| + /**
|
| + * @override
|
| + * @return {boolean}
|
| + */
|
| + renderAsTwoRows: function()
|
| + {
|
| + return true;
|
| + },
|
| +
|
| __proto__: WebInspector.FilteredUISourceCodeListDelegate.prototype
|
| }
|
|
|
| @@ -65,7 +74,7 @@ WebInspector.OpenResourceDialog.prototype = {
|
| */
|
| WebInspector.OpenResourceDialog.show = function(sourcesView, query, defaultScores, history)
|
| {
|
| - var filteredItemSelectionDialog = new WebInspector.FilteredListWidget(new WebInspector.OpenResourceDialog(sourcesView, defaultScores, history), true);
|
| + var filteredItemSelectionDialog = new WebInspector.FilteredListWidget(new WebInspector.OpenResourceDialog(sourcesView, defaultScores, history));
|
| filteredItemSelectionDialog.showAsDialog();
|
| filteredItemSelectionDialog.setQuery(query);
|
| }
|
| @@ -105,6 +114,15 @@ WebInspector.SelectUISourceCodeForProjectTypesDialog.prototype = {
|
| return this._types.indexOf(project.type()) !== -1;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + * @return {boolean}
|
| + */
|
| + renderAsTwoRows: function()
|
| + {
|
| + return true;
|
| + },
|
| +
|
| __proto__: WebInspector.FilteredUISourceCodeListDelegate.prototype
|
| }
|
|
|
| @@ -115,7 +133,7 @@ WebInspector.SelectUISourceCodeForProjectTypesDialog.prototype = {
|
| */
|
| WebInspector.SelectUISourceCodeForProjectTypesDialog.show = function(name, types, callback)
|
| {
|
| - var filteredItemSelectionDialog = new WebInspector.FilteredListWidget(new WebInspector.SelectUISourceCodeForProjectTypesDialog(types, callback), true);
|
| + var filteredItemSelectionDialog = new WebInspector.FilteredListWidget(new WebInspector.SelectUISourceCodeForProjectTypesDialog(types, callback));
|
| filteredItemSelectionDialog.showAsDialog();
|
| filteredItemSelectionDialog.setQuery(name);
|
| }
|
|
|