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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js

Issue 2658383002: [DevTools] Make UI.GlassPane position contentElement for different overlay controls. (Closed)
Patch Set: rebased Created 3 years, 10 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) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 /** 6 /**
7 * @unrestricted 7 * @unrestricted
8 * @implements {UI.ListDelegate} 8 * @implements {UI.ListDelegate}
9 */ 9 */
10 QuickOpen.FilteredListWidget = class extends UI.VBox { 10 QuickOpen.FilteredListWidget = class extends UI.VBox {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 if (ranges) { 112 if (ranges) {
113 UI.highlightRangesWithStyleClass(element, ranges, 'highlight'); 113 UI.highlightRangesWithStyleClass(element, ranges, 'highlight');
114 return true; 114 return true;
115 } 115 }
116 return false; 116 return false;
117 } 117 }
118 118
119 showAsDialog() { 119 showAsDialog() {
120 this._dialog = new UI.Dialog(); 120 this._dialog = new UI.Dialog();
121 this._dialog.setWrapsContent(true); 121 this._dialog.setWrapsContent(true);
122 this._dialog.setPosition(undefined, 22); 122 this._dialog.setPosition(null, 22);
123 this.show(this._dialog.element); 123 this.show(this._dialog.element);
124 this._dialog.show(); 124 this._dialog.show();
125 this._updateShowMatchingItems(); 125 this._updateShowMatchingItems();
126 } 126 }
127 127
128 /** 128 /**
129 * @return {string} 129 * @return {string}
130 */ 130 */
131 _value() { 131 _value() {
132 return this._prompt.text().trim(); 132 return this._prompt.text().trim();
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 /** 539 /**
540 * @return {string} 540 * @return {string}
541 */ 541 */
542 notFoundText() { 542 notFoundText() {
543 return Common.UIString('No results found'); 543 return Common.UIString('No results found');
544 } 544 }
545 545
546 dispose() { 546 dispose() {
547 } 547 }
548 }; 548 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/Source/devtools/front_end/ui/Dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698