2009-06-30 13:39:22 -07:00
|
|
|
#include "TabParent.h"
|
|
|
|
|
|
|
|
#include "mozilla/ipc/GeckoThread.h"
|
|
|
|
|
|
|
|
#include "nsIURI.h"
|
|
|
|
|
|
|
|
using mozilla::ipc::BrowserProcessSubThread;
|
|
|
|
|
|
|
|
namespace mozilla {
|
2009-08-12 09:18:08 -07:00
|
|
|
namespace dom {
|
2009-06-30 13:39:22 -07:00
|
|
|
|
2009-08-12 09:18:08 -07:00
|
|
|
TabParent::TabParent()
|
2009-06-30 13:39:22 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
TabParent::~TabParent()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
TabParent::LoadURL(nsIURI* aURI)
|
|
|
|
{
|
|
|
|
nsCString spec;
|
|
|
|
aURI->GetSpec(spec);
|
|
|
|
|
2009-07-29 14:12:15 -07:00
|
|
|
SendloadURL(spec);
|
2009-06-30 13:39:22 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
TabParent::Move(PRUint32 x, PRUint32 y, PRUint32 width, PRUint32 height)
|
|
|
|
{
|
2009-07-14 00:33:50 -07:00
|
|
|
Sendmove(x, y, width, height);
|
2009-06-30 13:39:22 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace tabs
|
|
|
|
} // namespace mozilla
|