Bug 773534 - Show briefly the typed character for <input type=password>. r=mwu

This commit is contained in:
Vivien Nicolas 2012-07-15 01:05:54 +02:00
parent 3e6d82bbfe
commit f2fbdc99f4
2 changed files with 7 additions and 0 deletions

View File

@ -374,3 +374,9 @@ nsLookAndFeel::GetFontImpl(FontID aID, nsString& aFontName,
aFontStyle.systemFont = true;
return true;
}
/*virtual*/
bool
nsLookAndFeel::GetEchoPasswordImpl() {
return true;
}

View File

@ -15,6 +15,7 @@ public:
virtual bool GetFontImpl(FontID aID, nsString& aName, gfxFontStyle& aStyle);
virtual nsresult GetIntImpl(IntID aID, PRInt32 &aResult);
virtual bool GetEchoPasswordImpl();
protected:
virtual nsresult NativeGetColor(ColorID aID, nscolor &aColor);