Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug

This commit is contained in:
Masayuki Nakano
2014-04-01 13:09:23 +09:00
parent 487afaa6d2
commit c50afb64af
71 changed files with 550 additions and 538 deletions

View File

@@ -15,6 +15,7 @@
#include "mozilla/dom/ContentChild.h"
#include "mozilla/dom/Element.h"
#include "mozilla/dom/TabChild.h"
#include "mozilla/EventStateManager.h"
#include "mozilla/Preferences.h"
#include "mozilla/Services.h"
#include "mozilla/StartupTimeline.h"
@@ -150,8 +151,6 @@
#include "nsIGlobalHistory2.h"
#include "nsEventStateManager.h"
#include "nsIFrame.h"
#include "nsSubDocumentFrame.h"
@@ -12782,7 +12781,7 @@ bool
nsDocShell::ShouldBlockLoadingForBackButton()
{
if (!(mLoadType & LOAD_CMD_HISTORY) ||
nsEventStateManager::IsHandlingUserInput() ||
EventStateManager::IsHandlingUserInput() ||
!Preferences::GetBool("accessibility.blockjsredirection")) {
return false;
}