Chromium Code Reviews| Index: Source/core/frame/RemoteFrame.h |
| diff --git a/Source/core/frame/RemoteFrame.h b/Source/core/frame/RemoteFrame.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dccf0a266e96ef0f3b3ae9361ad314c2ca749113 |
| --- /dev/null |
| +++ b/Source/core/frame/RemoteFrame.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
|
eseidel
2014/03/04 01:33:00
New code it's OK to use the new block for, thank y
|
| +// 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(PassRefPtr<FrameInit>); |
| + virtual bool isRemoteFrame() { return true; } |
| + |
| + virtual ~RemoteFrame(); |
| + |
| +private: |
| + RemoteFrame(PassRefPtr<FrameInit>); |
| +}; |
| + |
| +DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); |
| + |
| +} // namespace WebCore |
| + |
| +#endif // RemoteFrame_h |