Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: Source/core/frame/RemoteFrame.h

Issue 183713002: Add Frame and RemoteFrame classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added RemoteFrame Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698