Bug 1340483 - Part 4. Update input visibility accordingly. r=heycam
MozReview-Commit-ID: 7eBhj7w4qhP
This commit is contained in:
@@ -310,9 +310,9 @@ HTMLTextAreaElement::GetPlaceholderNode()
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(void)
|
||||
HTMLTextAreaElement::UpdatePlaceholderVisibility(bool aNotify)
|
||||
HTMLTextAreaElement::UpdateOverlayTextVisibility(bool aNotify)
|
||||
{
|
||||
mState.UpdatePlaceholderVisibility(aNotify);
|
||||
mState.UpdateOverlayTextVisibility(aNotify);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(bool)
|
||||
@@ -364,6 +364,12 @@ HTMLTextAreaElement::IsPreviewEnabled()
|
||||
return mIsPreviewEnabled;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(bool)
|
||||
HTMLTextAreaElement::GetPreviewVisibility()
|
||||
{
|
||||
return mState.GetPreviewVisibility();
|
||||
}
|
||||
|
||||
nsresult
|
||||
HTMLTextAreaElement::SetValueInternal(const nsAString& aValue,
|
||||
uint32_t aFlags)
|
||||
|
||||
Reference in New Issue
Block a user