зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1667081 - Part 9: Remove SetFocusedWindowWithCallerType in nsIFocusManager; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D91346
This commit is contained in:
Родитель
5db823035c
Коммит
27c71b7935
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче