зеркало из https://github.com/mozilla/gecko-dev.git
Add trivial DEBUG-only GetFrameName. r+sr=tor
This commit is contained in:
Родитель
a2b4291891
Коммит
bc1c96dea6
|
@ -60,6 +60,12 @@ public:
|
|||
virtual void MouseClicked (nsPresContext* aPresContext, nsGUIEvent* aEvent)
|
||||
{ DoMouseClick(aEvent, PR_FALSE); }
|
||||
|
||||
#ifdef DEBUG
|
||||
NS_IMETHOD GetFrameName(nsAString& aResult) const {
|
||||
return MakeFrameName(NS_LITERAL_STRING("ButtonBoxFrame"), aResult);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Our implementation of MouseClicked.
|
||||
* @param aTrustEvent if PR_TRUE and aEvent as null, then assume the event was trusted
|
||||
|
|
Загрузка…
Ссылка в новой задаче