Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 78 | 78 |
| 79 // Frame overrides: | 79 // Frame overrides: |
| 80 virtual ~LocalFrame(); | 80 virtual ~LocalFrame(); |
| 81 virtual void trace(Visitor*) override; | 81 virtual void trace(Visitor*) override; |
| 82 virtual bool isLocalFrame() const override { return true; } | 82 virtual bool isLocalFrame() const override { return true; } |
| 83 virtual DOMWindow* domWindow() const override; | 83 virtual DOMWindow* domWindow() const override; |
| 84 virtual void navigate(Document& originDocument, const KURL&, bool lockBa ckForwardList) override; | 84 virtual void navigate(Document& originDocument, const KURL&, bool lockBa ckForwardList) override; |
| 85 virtual void detach() override; | 85 virtual void detach() override; |
| 86 virtual void disconnectOwnerElement() override; | 86 virtual void disconnectOwnerElement() override; |
| 87 | 87 |
| 88 virtual SecurityContext* securityContext() const override; | |
|
dcheng
2014/11/12 21:55:50
Nit: group this into the Frame overrides: section
alexmos
2014/11/18 18:35:17
Done.
| |
| 89 | |
| 88 void addDestructionObserver(FrameDestructionObserver*); | 90 void addDestructionObserver(FrameDestructionObserver*); |
| 89 void removeDestructionObserver(FrameDestructionObserver*); | 91 void removeDestructionObserver(FrameDestructionObserver*); |
| 90 | 92 |
| 91 void willDetachFrameHost(); | 93 void willDetachFrameHost(); |
| 92 | 94 |
| 93 LocalDOMWindow* localDOMWindow() const; | 95 LocalDOMWindow* localDOMWindow() const; |
| 94 void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); | 96 void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); |
| 95 FrameView* view() const; | 97 FrameView* view() const; |
| 96 Document* document() const; | 98 Document* document() const; |
| 97 void setPagePopupOwner(Element&); | 99 void setPagePopupOwner(Element&); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 288 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); | 290 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); |
| 289 | 291 |
| 290 } // namespace blink | 292 } // namespace blink |
| 291 | 293 |
| 292 // During refactoring, there are some places where we need to do type conversion s that | 294 // During refactoring, there are some places where we need to do type conversion s that |
| 293 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out. | 295 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out. |
| 294 // At that time this #define will be removed and all the uses of it will need to be corrected. | 296 // At that time this #define will be removed and all the uses of it will need to be corrected. |
| 295 #define toLocalFrameTemporary toLocalFrame | 297 #define toLocalFrameTemporary toLocalFrame |
| 296 | 298 |
| 297 #endif // LocalFrame_h | 299 #endif // LocalFrame_h |
| OLD | NEW |