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

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

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed Nate's comments Created 5 years, 6 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 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, 80 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false,
81 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); 81 ScrollbarMode = ScrollbarAuto, bool verticalLock = false);
82 82
83 // Frame overrides: 83 // Frame overrides:
84 virtual ~LocalFrame(); 84 virtual ~LocalFrame();
85 DECLARE_VIRTUAL_TRACE(); 85 DECLARE_VIRTUAL_TRACE();
86 virtual bool isLocalFrame() const override { return true; } 86 virtual bool isLocalFrame() const override { return true; }
87 virtual DOMWindow* domWindow() const override; 87 virtual DOMWindow* domWindow() const override;
88 WindowProxy* windowProxy(DOMWrapperWorld&) override; 88 WindowProxy* windowProxy(DOMWrapperWorld&) override;
89 virtual void navigate(Document& originDocument, const KURL&, bool lockBa ckForwardList, UserGestureStatus) override; 89 virtual void navigate(Document& originDocument, const KURL&, bool lockBa ckForwardList, UserGestureStatus) override;
90 virtual void reload(ReloadPolicy, ClientRedirectPolicy) override; 90 virtual void reload(FrameLoadType, ClientRedirectPolicy) override;
91 virtual void detach() override; 91 virtual void detach() override;
92 virtual void disconnectOwnerElement() override; 92 virtual void disconnectOwnerElement() override;
93 virtual SecurityContext* securityContext() const override; 93 virtual SecurityContext* securityContext() const override;
94 void printNavigationErrorMessage(const Frame&, const char* reason) overr ide; 94 void printNavigationErrorMessage(const Frame&, const char* reason) overr ide;
95 95
96 void willDetachFrameHost(); 96 void willDetachFrameHost();
97 97
98 LocalDOMWindow* localDOMWindow() const; 98 LocalDOMWindow* localDOMWindow() const;
99 void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); 99 void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>);
100 FrameView* view() const; 100 FrameView* view() const;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); 301 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame());
302 302
303 } // namespace blink 303 } // namespace blink
304 304
305 // During refactoring, there are some places where we need to do type conversion s that 305 // During refactoring, there are some places where we need to do type conversion s that
306 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out. 306 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out.
307 // At that time this #define will be removed and all the uses of it will need to be corrected. 307 // At that time this #define will be removed and all the uses of it will need to be corrected.
308 #define toLocalFrameTemporary toLocalFrame 308 #define toLocalFrameTemporary toLocalFrame
309 309
310 #endif // LocalFrame_h 310 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698