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

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

Issue 1802953003: RemoteBridgeFrameOwner: keep better track of the attached frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Doing work in constructors is evil. Created 4 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
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 21 matching lines...) Expand all
32 DECLARE_VIRTUAL_TRACE(); 32 DECLARE_VIRTUAL_TRACE();
33 bool isRemoteFrame() const override { return true; } 33 bool isRemoteFrame() const override { return true; }
34 DOMWindow* domWindow() const override; 34 DOMWindow* domWindow() const override;
35 WindowProxy* windowProxy(DOMWrapperWorld&) override; 35 WindowProxy* windowProxy(DOMWrapperWorld&) override;
36 void navigate(Document& originDocument, const KURL&, bool replaceCurrentItem , UserGestureStatus) override; 36 void navigate(Document& originDocument, const KURL&, bool replaceCurrentItem , UserGestureStatus) override;
37 void navigate(const FrameLoadRequest& passedRequest) override; 37 void navigate(const FrameLoadRequest& passedRequest) override;
38 void reload(FrameLoadType, ClientRedirectPolicy) override; 38 void reload(FrameLoadType, ClientRedirectPolicy) override;
39 void detach(FrameDetachType) override; 39 void detach(FrameDetachType) override;
40 RemoteSecurityContext* securityContext() const override; 40 RemoteSecurityContext* securityContext() const override;
41 void printNavigationErrorMessage(const Frame&, const char* reason) override { } 41 void printNavigationErrorMessage(const Frame&, const char* reason) override { }
42 void disconnectOwnerElement() override;
43 bool prepareForCommit() override; 42 bool prepareForCommit() override;
44 bool shouldClose() override; 43 bool shouldClose() override;
45 44
46 // FIXME: Remove this method once we have input routing in the browser 45 // FIXME: Remove this method once we have input routing in the browser
47 // process. See http://crbug.com/339659. 46 // process. See http://crbug.com/339659.
48 void forwardInputEvent(Event*); 47 void forwardInputEvent(Event*);
49 48
50 void frameRectsChanged(const IntRect& frameRect); 49 void frameRectsChanged(const IntRect& frameRect);
51 50
52 void visibilityChanged(bool visible); 51 void visibilityChanged(bool visible);
(...skipping 26 matching lines...) Expand all
79 inline RemoteFrameView* RemoteFrame::view() const 78 inline RemoteFrameView* RemoteFrame::view() const
80 { 79 {
81 return m_view.get(); 80 return m_view.get();
82 } 81 }
83 82
84 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 83 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
85 84
86 } // namespace blink 85 } // namespace blink
87 86
88 #endif // RemoteFrame_h 87 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameOwner.h ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698