Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug
This doesn't change behavior on its own, but it's likely we want to make the tab focusability more complicated in bug 1895184, and this will make changes to this area less painful. Differential Revision: https://phabricator.services.mozilla.com/D209525
This commit is contained in:
@@ -162,7 +162,7 @@ class HTMLInputElement final : public TextControlElement,
|
||||
void FieldSetDisabledChanged(bool aNotify) override;
|
||||
|
||||
// nsIContent
|
||||
bool IsHTMLFocusable(bool aWithMouse, bool* aIsFocusable,
|
||||
bool IsHTMLFocusable(IsFocusableFlags, bool* aIsFocusable,
|
||||
int32_t* aTabIndex) override;
|
||||
|
||||
bool ParseAttribute(int32_t aNamespaceID, nsAtom* aAttribute,
|
||||
|
||||
Reference in New Issue
Block a user