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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void setDocumentHasReceivedUserGesture() override; | 124 void setDocumentHasReceivedUserGesture() override; |
| 125 WindowProxyManagerBase* getWindowProxyManager() const override; |
125 | 126 |
126 void detachChildren(); | 127 void detachChildren(); |
127 void documentAttached(); | 128 void documentAttached(); |
128 | 129 |
129 LocalDOMWindow* domWindow() const; | 130 LocalDOMWindow* domWindow() const; |
130 void setDOMWindow(LocalDOMWindow*); | 131 void setDOMWindow(LocalDOMWindow*); |
131 FrameView* view() const; | 132 FrameView* view() const; |
132 Document* document() const; | 133 Document* document() const; |
133 void setPagePopupOwner(Element&); | 134 void setPagePopupOwner(Element&); |
134 Element* pagePopupOwner() const { return m_pagePopupOwner.get(); } | 135 Element* pagePopupOwner() const { return m_pagePopupOwner.get(); } |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 229 |
229 private: | 230 private: |
230 friend class FrameNavigationDisabler; | 231 friend class FrameNavigationDisabler; |
231 | 232 |
232 LocalFrame(FrameLoaderClient*, | 233 LocalFrame(FrameLoaderClient*, |
233 FrameHost*, | 234 FrameHost*, |
234 FrameOwner*, | 235 FrameOwner*, |
235 InterfaceProvider*, | 236 InterfaceProvider*, |
236 InterfaceRegistry*); | 237 InterfaceRegistry*); |
237 | 238 |
238 // Internal Frame helper overrides: | |
239 WindowProxyManagerBase* getWindowProxyManager() const override; | |
240 // Intentionally private to prevent redundant checks when the type is | 239 // Intentionally private to prevent redundant checks when the type is |
241 // already LocalFrame. | 240 // already LocalFrame. |
242 bool isLocalFrame() const override { return true; } | 241 bool isLocalFrame() const override { return true; } |
243 bool isRemoteFrame() const override { return false; } | 242 bool isRemoteFrame() const override { return false; } |
244 | 243 |
245 void enableNavigation() { --m_navigationDisableCount; } | 244 void enableNavigation() { --m_navigationDisableCount; } |
246 void disableNavigation() { ++m_navigationDisableCount; } | 245 void disableNavigation() { ++m_navigationDisableCount; } |
247 | 246 |
248 std::unique_ptr<WebFrameScheduler> m_frameScheduler; | 247 std::unique_ptr<WebFrameScheduler> m_frameScheduler; |
249 | 248 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 explicit ScopedFrameBlamer(LocalFrame*); | 377 explicit ScopedFrameBlamer(LocalFrame*); |
379 ~ScopedFrameBlamer(); | 378 ~ScopedFrameBlamer(); |
380 | 379 |
381 private: | 380 private: |
382 Member<LocalFrame> m_frame; | 381 Member<LocalFrame> m_frame; |
383 }; | 382 }; |
384 | 383 |
385 } // namespace blink | 384 } // namespace blink |
386 | 385 |
387 #endif // LocalFrame_h | 386 #endif // LocalFrame_h |
OLD | NEW |