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

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

Issue 635853002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/frame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « Source/core/frame/PlatformEventController.h ('k') | Source/core/frame/RemoteFrameView.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&, const Referrer& , bool lockBackForwardList) OVERRIDE; 22 virtual void navigate(Document& originDocument, const KURL&, const Referrer& , bool lockBackForwardList) override;
23 virtual void detach() OVERRIDE; 23 virtual void detach() override;
24 24
25 void setView(PassRefPtr<RemoteFrameView>); 25 void setView(PassRefPtr<RemoteFrameView>);
26 void createView(); 26 void createView();
27 27
28 RemoteFrameView* view() const; 28 RemoteFrameView* view() const;
29 29
30 private: 30 private:
31 RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*); 31 RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*);
32 32
33 RemoteFrameClient* remoteFrameClient() const; 33 RemoteFrameClient* remoteFrameClient() const;
34 34
35 RefPtr<RemoteFrameView> m_view; 35 RefPtr<RemoteFrameView> m_view;
36 }; 36 };
37 37
38 inline RemoteFrameView* RemoteFrame::view() const 38 inline RemoteFrameView* RemoteFrame::view() const
39 { 39 {
40 return m_view.get(); 40 return m_view.get();
41 } 41 }
42 42
43 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 43 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
44 44
45 } // namespace blink 45 } // namespace blink
46 46
47 #endif // RemoteFrame_h 47 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « Source/core/frame/PlatformEventController.h ('k') | Source/core/frame/RemoteFrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698