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

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

Issue 806183005: Remove FrameLoader's checkLoadComplete and checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Frame overrides: 81 // Frame overrides:
82 virtual ~LocalFrame(); 82 virtual ~LocalFrame();
83 virtual void trace(Visitor*) override; 83 virtual void trace(Visitor*) override;
84 virtual bool isLocalFrame() const override { return true; } 84 virtual bool isLocalFrame() const override { return true; }
85 virtual DOMWindow* domWindow() const override; 85 virtual DOMWindow* domWindow() const override;
86 virtual void navigate(Document& originDocument, const KURL&, bool lockBa ckForwardList) override; 86 virtual void navigate(Document& originDocument, const KURL&, bool lockBa ckForwardList) override;
87 virtual void reload(ReloadPolicy, ClientRedirectPolicy) override; 87 virtual void reload(ReloadPolicy, ClientRedirectPolicy) override;
88 virtual void detach() override; 88 virtual void detach() override;
89 virtual void disconnectOwnerElement() override; 89 virtual void disconnectOwnerElement() override;
90 virtual SecurityContext* securityContext() const override; 90 virtual SecurityContext* securityContext() const override;
91 bool checkLoadComplete() override;
92 void printNavigationErrorMessage(const Frame&, const char* reason) overr ide; 91 void printNavigationErrorMessage(const Frame&, const char* reason) overr ide;
92 bool isLoadingAsChild() const override;
93 93
94 void addDestructionObserver(FrameDestructionObserver*); 94 void addDestructionObserver(FrameDestructionObserver*);
95 void removeDestructionObserver(FrameDestructionObserver*); 95 void removeDestructionObserver(FrameDestructionObserver*);
96 96
97 void willDetachFrameHost(); 97 void willDetachFrameHost();
98 98
99 LocalDOMWindow* localDOMWindow() const; 99 LocalDOMWindow* localDOMWindow() const;
100 void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); 100 void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>);
101 FrameView* view() const; 101 FrameView* view() const;
102 Document* document() const; 102 Document* document() const;
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); 298 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame());
299 299
300 } // namespace blink 300 } // namespace blink
301 301
302 // During refactoring, there are some places where we need to do type conversion s that 302 // During refactoring, there are some places where we need to do type conversion s that
303 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out. 303 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out.
304 // At that time this #define will be removed and all the uses of it will need to be corrected. 304 // At that time this #define will be removed and all the uses of it will need to be corrected.
305 #define toLocalFrameTemporary toLocalFrame 305 #define toLocalFrameTemporary toLocalFrame
306 306
307 #endif // LocalFrame_h 307 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698