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..4393a7718f92cfe817940dfb81457709cf62009d |
--- /dev/null |
+++ b/Source/core/frame/RemoteFrame.h |
@@ -0,0 +1,27 @@ |
+// 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(PassRefPtr<FrameInit>); |
+ virtual bool isRemoteFrame() const OVERRIDE { return true; } |
+ |
+ virtual ~RemoteFrame(); |
+ |
+private: |
+ RemoteFrame(PassRefPtr<FrameInit>); |
+}; |
+ |
+DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); |
+ |
+} // namespace WebCore |
+ |
+#endif // RemoteFrame_h |