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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years 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
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/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/RemoteSecurityContext.h" 9 #include "core/dom/RemoteSecurityContext.h"
10 #include "core/frame/Frame.h" 10 #include "core/frame/Frame.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); 53 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>);
54 void createView(); 54 void createView();
55 55
56 RemoteFrameView* view() const; 56 RemoteFrameView* view() const;
57 57
58 private: 58 private:
59 RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*); 59 RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*);
60 60
61 // Internal Frame helper overrides: 61 // Internal Frame helper overrides:
62 WindowProxyManager* windowProxyManager() const override; 62 WindowProxyManager* windowProxyManager() const override { return m_windowPro xyManager.get(); }
63 63
64 RemoteFrameClient* remoteFrameClient() const; 64 RemoteFrameClient* remoteFrameClient() const;
65 65
66 RefPtrWillBeMember<RemoteFrameView> m_view; 66 RefPtrWillBeMember<RemoteFrameView> m_view;
67 RefPtrWillBeMember<RemoteSecurityContext> m_securityContext; 67 RefPtrWillBeMember<RemoteSecurityContext> m_securityContext;
68 RefPtrWillBeMember<RemoteDOMWindow> m_domWindow; 68 RefPtrWillBeMember<RemoteDOMWindow> m_domWindow;
69 OwnPtrWillBeMember<WindowProxyManager> m_windowProxyManager; 69 OwnPtrWillBeMember<WindowProxyManager> m_windowProxyManager;
70 WebLayer* m_remotePlatformLayer; 70 WebLayer* m_remotePlatformLayer;
71 }; 71 };
72 72
73 inline RemoteFrameView* RemoteFrame::view() const
74 {
75 return m_view.get();
76 }
77
73 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 78 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
74 79
75 } // namespace blink 80 } // namespace blink
76 81
77 #endif // RemoteFrame_h 82 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Location.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698