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

@@ -164,6 +164,16 @@ public:
*/
NS_IMETHOD_(mozilla::dom::Element*) GetPreviewNode() = 0;
/**
* Update preview value for the text control.
*/
NS_IMETHOD_(void) SetPreviewValue(const nsAString& aValue) = 0;
/**
* Get the current preview value for text control.
*/
NS_IMETHOD_(void) GetPreviewValue(nsAString& aValue) = 0;
/**
* Initialize the keyboard event listeners.
*/