layout/ipc/RenderFrameChild.h
author Bob Owen <bobowencode@gmail.com>
Mon, 30 Jun 2014 16:21:27 +0100
changeset 191913 bdcaaf2af7bbbcabfac5ba06c16bc4931674ac58
parent 152824 b1941b03d0a6fd6b64987870c1fa150d0f0d9309
child 200915 6ffbc0815d0846c6c90a3854a24bcb4a1f265eb7
permissions -rw-r--r--
Bug 1030707 - Part 3: Replace AutoPushJSContext in RuntimeService::CancelWorkersForWindow. r=bholley

/* -*- 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 Destroy();

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

} // namespace layout
} // namespace mozilla

#endif  // mozilla_dom_RenderFrameChild_h