Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug

This commit is contained in:
Masayuki Nakano
2014-04-03 13:18:36 +09:00
parent 986f5bc289
commit 00dfc5e0a9
114 changed files with 535 additions and 419 deletions

View File

@@ -16,7 +16,7 @@
#include "nsNodeInfoManager.h"
#include "nsContentCreatorFunctions.h"
#include "nsContentUtils.h"
#include "nsEventStates.h"
#include "mozilla/EventStates.h"
#include "mozilla/dom/DOMStringList.h"
#include "nsIDOMDragEvent.h"
#include "nsIDOMFileList.h"
@@ -246,7 +246,7 @@ nsFileControlFrame::GetMinWidth(nsRenderingContext *aRenderingContext)
void
nsFileControlFrame::SyncDisabledState()
{
nsEventStates eventStates = mContent->AsElement()->State();
EventStates eventStates = mContent->AsElement()->State();
if (eventStates.HasState(NS_EVENT_STATE_DISABLED)) {
mBrowse->SetAttr(kNameSpaceID_None, nsGkAtoms::disabled, EmptyString(),
true);
@@ -274,7 +274,7 @@ nsFileControlFrame::AttributeChanged(int32_t aNameSpaceID,
}
void
nsFileControlFrame::ContentStatesChanged(nsEventStates aStates)
nsFileControlFrame::ContentStatesChanged(EventStates aStates)
{
if (aStates.HasState(NS_EVENT_STATE_DISABLED)) {
nsContentUtils::AddScriptRunner(new SyncDisabledStateEvent(this));