2009-06-30 13:39:22 -07:00
|
|
|
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; -*- */
|
|
|
|
|
|
|
|
#ifndef mozilla_tabs_TabChild_h
|
|
|
|
#define mozilla_tabs_TabChild_h
|
|
|
|
|
2009-08-12 09:18:08 -07:00
|
|
|
#include "mozilla/dom/IFrameEmbeddingProtocolChild.h"
|
2009-06-30 13:39:22 -07:00
|
|
|
#include "nsIWebNavigation.h"
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
|
|
|
|
namespace mozilla {
|
2009-08-12 09:18:08 -07:00
|
|
|
namespace dom {
|
2009-06-30 13:39:22 -07:00
|
|
|
|
|
|
|
class TabChild
|
2009-07-02 17:24:02 -07:00
|
|
|
: public IFrameEmbeddingProtocolChild
|
2009-06-30 13:39:22 -07:00
|
|
|
{
|
|
|
|
public:
|
2009-08-12 09:18:08 -07:00
|
|
|
TabChild(const MagicWindowHandle& parentWidget);
|
2009-06-30 13:39:22 -07:00
|
|
|
virtual ~TabChild();
|
|
|
|
|
2009-07-29 14:12:15 -07:00
|
|
|
virtual nsresult RecvloadURL(const nsCString& uri);
|
2009-07-14 00:33:50 -07:00
|
|
|
virtual nsresult Recvmove(const PRUint32& x,
|
|
|
|
const PRUint32& y,
|
|
|
|
const PRUint32& width,
|
|
|
|
const PRUint32& height);
|
2009-06-30 13:39:22 -07:00
|
|
|
|
|
|
|
private:
|
|
|
|
nsCOMPtr<nsIWebNavigation> mWebNav;
|
|
|
|
|
|
|
|
DISALLOW_EVIL_CONSTRUCTORS(TabChild);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // mozilla_tabs_TabChild_h
|