Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user