mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
0e0931b400
--HG-- rename : dom/ipc/TabThread.cpp => dom/ipc/ContentProcessThread.cpp rename : dom/ipc/TabThread.h => dom/ipc/ContentProcessThread.h
36 lines
835 B
C++
36 lines
835 B
C++
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; -*- */
|
|
|
|
#ifndef mozilla_tabs_TabChild_h
|
|
#define mozilla_tabs_TabChild_h
|
|
|
|
#include "mozilla/dom/IFrameEmbeddingProtocolChild.h"
|
|
#include "nsIWebNavigation.h"
|
|
#include "nsCOMPtr.h"
|
|
|
|
namespace mozilla {
|
|
namespace dom {
|
|
|
|
class TabChild
|
|
: public IFrameEmbeddingProtocolChild
|
|
{
|
|
public:
|
|
TabChild(const MagicWindowHandle& parentWidget);
|
|
virtual ~TabChild();
|
|
|
|
virtual nsresult RecvloadURL(const nsCString& uri);
|
|
virtual nsresult Recvmove(const PRUint32& x,
|
|
const PRUint32& y,
|
|
const PRUint32& width,
|
|
const PRUint32& height);
|
|
|
|
private:
|
|
nsCOMPtr<nsIWebNavigation> mWebNav;
|
|
|
|
DISALLOW_EVIL_CONSTRUCTORS(TabChild);
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif // mozilla_tabs_TabChild_h
|