layout/ipc/RenderFrameChild.h
author Birunthan Mohanathas <birunthan@mohanathas.com>
Thu, 10 Oct 2013 16:38:05 -0400
changeset 150393 8b9687f6c60276ac3a92b21682ad932aca504877
parent 145312 6a2fa1dcddf0ca1ed2d2d3ea12c6aafe94546b2f
child 152773 b1941b03d0a6fd6b64987870c1fa150d0f0d9309
permissions -rw-r--r--
Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (1/2); r=ehsan

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: sw=2 ts=8 et :
 */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_dom_RenderFrameChild_h
#define mozilla_dom_RenderFrameChild_h

#include "mozilla/layout/PRenderFrameChild.h"

namespace mozilla {
namespace layout {

class RenderFrameChild : public PRenderFrameChild
{
public:
  RenderFrameChild() {}
  virtual ~RenderFrameChild() {}

  void CancelDefaultPanZoom();
  void DetectScrollableSubframe();

  void Destroy();

protected:
  virtual PLayerTransactionChild* AllocPLayerTransactionChild() MOZ_OVERRIDE;
  virtual bool DeallocPLayerTransactionChild(PLayerTransactionChild* aLayers) MOZ_OVERRIDE;
};

} // namespace layout
} // namespace mozilla

#endif  // mozilla_dom_RenderFrameChild_h