blob: 1b9629c39127a5f344b2aac276a0765a2c81e3de [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef RemoteFrame_h
#define RemoteFrame_h
#include "core/frame/Frame.h"
namespace WebCore {
class RemoteFrame: public Frame {
public:
static PassRefPtr<RemoteFrame> create(FrameHost*, HTMLFrameOwnerElement*);
virtual bool isRemoteFrame() const OVERRIDE { return true; }
virtual ~RemoteFrame();
private:
RemoteFrame(FrameHost*, HTMLFrameOwnerElement*);
};
DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
} // namespace WebCore
#endif // RemoteFrame_h