зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1496476 - add tabContextChanged stub. r=standard8
This commit is contained in:
Родитель
d3ba71da85
Коммит
bb74f2ee6a
|
@ -146,6 +146,14 @@ class UrlbarController {
|
||||||
this._listeners.delete(listener);
|
this._listeners.delete(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* When switching tabs, clear some internal caches to handle cases like
|
||||||
|
* backspace, autofill or repeated searches.
|
||||||
|
*/
|
||||||
|
tabContextChanged() {
|
||||||
|
// TODO: implementation needed (bug 1496685)
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal function to notify listeners of results.
|
* Internal function to notify listeners of results.
|
||||||
*
|
*
|
||||||
|
|
|
@ -414,6 +414,10 @@ class UrlbarInput {
|
||||||
_on_scrollend(event) {
|
_on_scrollend(event) {
|
||||||
this._updateTextOverflow();
|
this._updateTextOverflow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_on_TabSelect(event) {
|
||||||
|
this.controller.tabContextChanged();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Загрузка…
Ссылка в новой задаче