OLD | NEW |
---|---|
(Empty) | |
1 // 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
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef RemoteFrame_h | |
6 #define RemoteFrame_h | |
7 | |
8 #include "core/frame/Frame.h" | |
9 | |
10 namespace WebCore { | |
11 | |
12 class RemoteFrame: public Frame { | |
13 public: | |
14 static PassRefPtr<RemoteFrame> create(PassRefPtr<FrameInit>); | |
15 virtual bool isRemoteFrame() { return true; } | |
16 | |
17 virtual ~RemoteFrame(); | |
18 | |
19 private: | |
20 RemoteFrame(PassRefPtr<FrameInit>); | |
21 }; | |
22 | |
23 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); | |
24 | |
25 } // namespace WebCore | |
26 | |
27 #endif // RemoteFrame_h | |
OLD | NEW |