Bug 1667081 - Part 9: Remove SetFocusedWindowWithCallerType in nsIFocusManager; r=hsivonen

Differential Revision: https://phabricator.services.mozilla.com/D91346
This commit is contained in:
Edgar Chen 2020-09-29 07:22:45 +00:00
Родитель 5db823035c
Коммит 27c71b7935
3 изменённых файлов: 7 добавлений и 6 удалений

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

@ -405,7 +405,7 @@ nsFocusManager::GetFocusedWindow(mozIDOMWindowProxy** aFocusedWindow) {
return NS_OK;
}
NS_IMETHODIMP nsFocusManager::SetFocusedWindowWithCallerType(
nsresult nsFocusManager::SetFocusedWindowWithCallerType(
mozIDOMWindowProxy* aWindowToFocus, CallerType aCallerType) {
LOGFOCUS(("<<SetFocusedWindow begin>>"));

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

@ -208,6 +208,12 @@ class nsFocusManager final : public nsIFocusManager,
bool aNavigateByKey,
nsIContent** aNextContent);
/**
* Setter for focusedWindow with CallerType
*/
nsresult SetFocusedWindowWithCallerType(mozIDOMWindowProxy* aWindowToFocus,
mozilla::dom::CallerType aCallerType);
/**
* Given an element, which must be the focused element, activate the remote
* frame it embeds, if any.

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

@ -70,11 +70,6 @@ interface nsIFocusManager : nsISupports
*/
attribute mozIDOMWindowProxy focusedWindow;
/**
* Setter for focusedWindow with CallerType
*/
[noscript] void SetFocusedWindowWithCallerType(in mozIDOMWindowProxy aWindow, in CallerType aCallerType);
/**
* The element that is currently focused. This will always be an element
* within the document loaded in focusedWindow or null if no element in that