Bug 1340483 - Part 2. Expose chrome-only previewValue attribute. r=baku,heycam

MozReview-Commit-ID: BCu0vXVm6wj
This commit is contained in:
Ray Lin
2017-03-21 00:08:01 +08:00
parent 78ff382026
commit f4d11417f9
9 changed files with 89 additions and 0 deletions

View File

@@ -223,8 +223,13 @@ public:
bool GetPlaceholderVisibility() {
return mPlaceholderVisibility;
}
void UpdatePlaceholderText(bool aNotify);
// preview methods
void SetPreviewText(const nsAString& aValue, bool aNotify);
void GetPreviewText(nsAString& aValue);
/**
* Get the maxlength attribute
* @param aMaxLength the value of the max length attr