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

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

Issue 652693002: Replace FINAL and OVERRIDE with their C++11 counterparts in WebKit/Source (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Corrected the Patch Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderText.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef RemoteFrame_h 5 #ifndef RemoteFrame_h
6 #define RemoteFrame_h 6 #define RemoteFrame_h
7 7
8 #include "core/frame/Frame.h" 8 #include "core/frame/Frame.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class RemoteFrameClient; 12 class RemoteFrameClient;
13 class RemoteFrameView; 13 class RemoteFrameView;
14 14
15 class RemoteFrame: public Frame { 15 class RemoteFrame: public Frame {
16 public: 16 public:
17 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH ost*, FrameOwner*); 17 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH ost*, FrameOwner*);
18 virtual bool isRemoteFrame() const override { return true; } 18 virtual bool isRemoteFrame() const override { return true; }
19 19
20 virtual ~RemoteFrame(); 20 virtual ~RemoteFrame();
21 21
22 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo rwardList) override; 22 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo rwardList) override;
23 virtual void detach() override; 23 virtual void detach() override;
24 24
25 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); 25 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>);
26 void createView(); 26 void createView();
27 27
28 RemoteFrameView* view() const; 28 RemoteFrameView* view() const;
29 29
30 void trace(Visitor*) OVERRIDE; 30 void trace(Visitor*) override;
31 31
32 private: 32 private:
33 RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*); 33 RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*);
34 34
35 RemoteFrameClient* remoteFrameClient() const; 35 RemoteFrameClient* remoteFrameClient() const;
36 36
37 RefPtrWillBeMember<RemoteFrameView> m_view; 37 RefPtrWillBeMember<RemoteFrameView> m_view;
38 }; 38 };
39 39
40 inline RemoteFrameView* RemoteFrame::view() const 40 inline RemoteFrameView* RemoteFrame::view() const
41 { 41 {
42 return m_view.get(); 42 return m_view.get();
43 } 43 }
44 44
45 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 45 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
46 46
47 } // namespace blink 47 } // namespace blink
48 48
49 #endif // RemoteFrame_h 49 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698