Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug

This commit is contained in:
Masayuki Nakano
2015-09-02 15:08:00 +09:00
parent a5253572f6
commit 9c6ef4b246
15 changed files with 33 additions and 36 deletions

View File

@@ -220,7 +220,7 @@ HTMLObjectElement::HandleFocusBlurPlugin(Element* aElement,
OnFocusBlurPlugin(aElement, true);
break;
}
case NS_BLUR_CONTENT: {
case eBlur: {
OnFocusBlurPlugin(aElement, false);
break;
}
@@ -292,7 +292,7 @@ HTMLObjectElement::UnbindFromTree(bool aDeep,
{
#ifdef XP_MACOSX
// When a page is reloaded (when an nsIDocument's content is removed), the
// focused element isn't necessarily sent an NS_BLUR_CONTENT event. See
// focused element isn't necessarily sent an eBlur event. See
// nsFocusManager::ContentRemoved(). This means that a widget may think it
// still contains a focused plugin when it doesn't -- which in turn can
// disable text input in the browser window. See bug 1137229.