mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
7836d0478f
--HG-- rename : dom/ipc/TabThread.cpp => dom/ipc/ContentProcessThread.cpp rename : dom/ipc/TabThread.h => dom/ipc/ContentProcessThread.h
37 lines
496 B
C++
37 lines
496 B
C++
#include "TabParent.h"
|
|
|
|
#include "mozilla/ipc/GeckoThread.h"
|
|
|
|
#include "nsIURI.h"
|
|
|
|
using mozilla::ipc::BrowserProcessSubThread;
|
|
|
|
namespace mozilla {
|
|
namespace dom {
|
|
|
|
TabParent::TabParent()
|
|
{
|
|
}
|
|
|
|
TabParent::~TabParent()
|
|
{
|
|
}
|
|
|
|
void
|
|
TabParent::LoadURL(nsIURI* aURI)
|
|
{
|
|
nsCString spec;
|
|
aURI->GetSpec(spec);
|
|
|
|
SendloadURL(spec);
|
|
}
|
|
|
|
void
|
|
TabParent::Move(PRUint32 x, PRUint32 y, PRUint32 width, PRUint32 height)
|
|
{
|
|
Sendmove(x, y, width, height);
|
|
}
|
|
|
|
} // namespace tabs
|
|
} // namespace mozilla
|