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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js

Issue 2592483002: [DevTools] Move console viewport to console, rename StaticViewportControl. (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
index 98960a8fed99d165a76a8a9c40132cd84aed2216..1b20de2e0162c3f1caf51a5295798dbd816e4dad 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
@@ -46,7 +46,7 @@ UI.SuggestBoxDelegate.prototype = {
};
/**
- * @implements {UI.StaticViewportControl.Provider}
+ * @implements {UI.ViewportControl.Provider}
* @unrestricted
*/
UI.SuggestBox = class {
@@ -63,7 +63,7 @@ UI.SuggestBox = class {
this._maxItemsHeight = maxItemsHeight;
this._maybeHideBound = this._maybeHide.bind(this);
this._container = createElementWithClass('div', 'suggest-box-container');
- this._viewport = new UI.StaticViewportControl(this);
+ this._viewport = new UI.ViewportControl(this);
this._element = this._viewport.element;
this._element.classList.add('suggest-box');
this._container.appendChild(this._element);

Powered by Google App Engine
This is Rietveld 408576698