mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron
This commit is contained in:
1 parent
b990b77563
commit
7a214013bb
4 files changed
+12
-1
No files matched your search
@@ -71,6 +71,7 @@
|
||||
#include "nsIAccessibilityService.h"
|
||||
#endif
|
||||
#include "nsDisplayList.h"
|
||||
#include "nsLayoutAtoms.h"
|
||||
|
||||
nsIFrame*
|
||||
NS_NewHTMLButtonControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
||||
@@ -155,6 +156,12 @@ NS_IMETHODIMP nsHTMLButtonControlFrame::GetAccessible(nsIAccessible** aAccessibl
|
||||
}
|
||||
#endif
|
||||
|
||||
nsIAtom*
|
||||
nsHTMLButtonControlFrame::GetType() const
|
||||
{
|
||||
return nsLayoutAtoms::HTMLButtonControlFrame;
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsHTMLButtonControlFrame::IsReset(PRInt32 type)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user