mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 15:55:16 +00:00
Add getURL(). This is needed for the new configurable rdf toolbars which
dont know anything about BrowserFrame. They know about Frame and they need to cann getURL(). So im putting it here and making it a virtual noop by default.
This commit is contained in:
parent
45a7597595
commit
6f5429efa5
@ -3730,6 +3730,12 @@ XFE_Frame::commandToString(CommandType cmd,
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
XFE_Frame::getURL(URL_Struct * /* url */)
|
||||
{
|
||||
return -1; // Same as HTMLView
|
||||
}
|
||||
|
||||
void
|
||||
XFE_Frame::setCursor(XP_Bool busy)
|
||||
{
|
||||
|
@ -170,6 +170,8 @@ public:
|
||||
virtual Pixel getTopShadowPixel();
|
||||
virtual Pixel getBottomShadowPixel();
|
||||
|
||||
virtual int getURL(URL_Struct *url);
|
||||
|
||||
void setCursor(XP_Bool busy);
|
||||
|
||||
// Invoked just before we destroy the Frame.
|
||||
|
Loading…
x
Reference in New Issue
Block a user