| 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 | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 9 * reserved. | 9 * reserved. |
| 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 UserGestureStatus) override; | 114 UserGestureStatus) override; |
| 115 void navigate(const FrameLoadRequest&) override; | 115 void navigate(const FrameLoadRequest&) override; |
| 116 void reload(FrameLoadType, ClientRedirectPolicy) override; | 116 void reload(FrameLoadType, ClientRedirectPolicy) override; |
| 117 void detach(FrameDetachType) override; | 117 void detach(FrameDetachType) override; |
| 118 bool shouldClose() override; | 118 bool shouldClose() override; |
| 119 SecurityContext* securityContext() const override; | 119 SecurityContext* securityContext() const override; |
| 120 void printNavigationErrorMessage(const Frame&, const char* reason) override; | 120 void printNavigationErrorMessage(const Frame&, const char* reason) override; |
| 121 void printNavigationWarning(const String&) override; | 121 void printNavigationWarning(const String&) override; |
| 122 bool prepareForCommit() override; | 122 bool prepareForCommit() override; |
| 123 void didChangeVisibilityState() override; | 123 void didChangeVisibilityState() override; |
| 124 WindowProxyManagerBase* getWindowProxyManager() const override; |
| 124 | 125 |
| 125 void detachChildren(); | 126 void detachChildren(); |
| 126 void documentAttached(); | 127 void documentAttached(); |
| 127 | 128 |
| 128 LocalDOMWindow* domWindow() const; | 129 LocalDOMWindow* domWindow() const; |
| 129 void setDOMWindow(LocalDOMWindow*); | 130 void setDOMWindow(LocalDOMWindow*); |
| 130 FrameView* view() const; | 131 FrameView* view() const; |
| 131 Document* document() const; | 132 Document* document() const; |
| 132 void setPagePopupOwner(Element&); | 133 void setPagePopupOwner(Element&); |
| 133 Element* pagePopupOwner() const { return m_pagePopupOwner.get(); } | 134 Element* pagePopupOwner() const { return m_pagePopupOwner.get(); } |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 226 |
| 226 private: | 227 private: |
| 227 friend class FrameNavigationDisabler; | 228 friend class FrameNavigationDisabler; |
| 228 | 229 |
| 229 LocalFrame(LocalFrameClient*, | 230 LocalFrame(LocalFrameClient*, |
| 230 FrameHost*, | 231 FrameHost*, |
| 231 FrameOwner*, | 232 FrameOwner*, |
| 232 InterfaceProvider*, | 233 InterfaceProvider*, |
| 233 InterfaceRegistry*); | 234 InterfaceRegistry*); |
| 234 | 235 |
| 235 // Internal Frame helper overrides: | |
| 236 WindowProxyManagerBase* getWindowProxyManager() const override; | |
| 237 // Intentionally private to prevent redundant checks when the type is | 236 // Intentionally private to prevent redundant checks when the type is |
| 238 // already LocalFrame. | 237 // already LocalFrame. |
| 239 bool isLocalFrame() const override { return true; } | 238 bool isLocalFrame() const override { return true; } |
| 240 bool isRemoteFrame() const override { return false; } | 239 bool isRemoteFrame() const override { return false; } |
| 241 | 240 |
| 242 void enableNavigation() { --m_navigationDisableCount; } | 241 void enableNavigation() { --m_navigationDisableCount; } |
| 243 void disableNavigation() { ++m_navigationDisableCount; } | 242 void disableNavigation() { ++m_navigationDisableCount; } |
| 244 | 243 |
| 245 std::unique_ptr<WebFrameScheduler> m_frameScheduler; | 244 std::unique_ptr<WebFrameScheduler> m_frameScheduler; |
| 246 | 245 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 explicit ScopedFrameBlamer(LocalFrame*); | 370 explicit ScopedFrameBlamer(LocalFrame*); |
| 372 ~ScopedFrameBlamer(); | 371 ~ScopedFrameBlamer(); |
| 373 | 372 |
| 374 private: | 373 private: |
| 375 Member<LocalFrame> m_frame; | 374 Member<LocalFrame> m_frame; |
| 376 }; | 375 }; |
| 377 | 376 |
| 378 } // namespace blink | 377 } // namespace blink |
| 379 | 378 |
| 380 #endif // LocalFrame_h | 379 #endif // LocalFrame_h |
| OLD | NEW |