Bug 1456616 - Remove suppressFocusScroll from nsXULCommandDispatcher;r=bz

This attribute doesn't do anything.

MozReview-Commit-ID: FnshlyyAms5

--HG--
extra : rebase_source : 75e67479a3306a29b8ea45491984d08ceb4d6907
This commit is contained in:
Brian Grinstead 2018-04-24 13:22:12 -07:00
Родитель 2cc7ec0f68
Коммит a6f357cd3b
4 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -767,7 +767,6 @@ VariablesView.prototype = {
let currFocusedItem = null;
do {
commandDispatcher.suppressFocusScroll = true;
commandDispatcher[aDirection]();
// Make sure the newly focused item is a part of this view.

Просмотреть файл

@ -1133,7 +1133,6 @@ const WidgetMethods = exports.WidgetMethods = {
let currFocusedElement;
do {
commandDispatcher.suppressFocusScroll = true;
commandDispatcher[direction]();
currFocusedElement = commandDispatcher.focusedElement;

Просмотреть файл

@ -30,7 +30,6 @@ interface nsIDOMXULCommandDispatcher : nsISupports
void advanceFocus();
void rewindFocus();
void advanceFocusIntoSubtree(in nsIDOMElement elt);
attribute boolean suppressFocusScroll;
// When locked, command updating is batched until unlocked. Always ensure that
// lock and unlock is called in a pair.

Просмотреть файл

@ -452,19 +452,6 @@ nsXULCommandDispatcher::GetControllerForCommand(const char *aCommand, nsIControl
_retval);
}
NS_IMETHODIMP
nsXULCommandDispatcher::GetSuppressFocusScroll(bool* aSuppressFocusScroll)
{
*aSuppressFocusScroll = false;
return NS_OK;
}
NS_IMETHODIMP
nsXULCommandDispatcher::SetSuppressFocusScroll(bool aSuppressFocusScroll)
{
return NS_OK;
}
NS_IMETHODIMP
nsXULCommandDispatcher::Lock()
{