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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 private: | 192 private: |
193 friend class FrameNavigationDisabler; | 193 friend class FrameNavigationDisabler; |
194 | 194 |
195 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); | 195 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); |
196 | 196 |
197 // Internal Frame helper overrides: | 197 // Internal Frame helper overrides: |
198 WindowProxyManager* windowProxyManager() const override; | 198 WindowProxyManager* windowProxyManager() const override; |
199 | 199 |
200 String localLayerTreeAsText(unsigned flags) const; | 200 String localLayerTreeAsText(unsigned flags) const; |
201 | 201 |
202 // Paints the area for the given rect into a DragImage. | |
203 // The rect is in the coordinate space of the frame. | |
204 PassOwnPtr<DragImage> paintIntoDragImage(const GlobalPaintFlags, | |
205 IntRect paintingRect, Node* draggedNode = nullptr, float opacity = 1); | |
206 | |
207 void enableNavigation() { --m_navigationDisableCount; } | 202 void enableNavigation() { --m_navigationDisableCount; } |
208 void disableNavigation() { ++m_navigationDisableCount; } | 203 void disableNavigation() { ++m_navigationDisableCount; } |
209 | 204 |
210 mutable FrameLoader m_loader; | 205 mutable FrameLoader m_loader; |
211 OwnPtrWillBeMember<NavigationScheduler> m_navigationScheduler; | 206 OwnPtrWillBeMember<NavigationScheduler> m_navigationScheduler; |
212 | 207 |
213 RefPtrWillBeMember<FrameView> m_view; | 208 RefPtrWillBeMember<FrameView> m_view; |
214 RefPtrWillBeMember<LocalDOMWindow> m_domWindow; | 209 RefPtrWillBeMember<LocalDOMWindow> m_domWindow; |
215 // Usually 0. Non-null if this is the top frame of PagePopup. | 210 // Usually 0. Non-null if this is the top frame of PagePopup. |
216 RefPtrWillBeMember<Element> m_pagePopupOwner; | 211 RefPtrWillBeMember<Element> m_pagePopupOwner; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 explicit FrameNavigationDisabler(LocalFrame&); | 312 explicit FrameNavigationDisabler(LocalFrame&); |
318 ~FrameNavigationDisabler(); | 313 ~FrameNavigationDisabler(); |
319 | 314 |
320 private: | 315 private: |
321 RawPtrWillBeMember<LocalFrame> m_frame; | 316 RawPtrWillBeMember<LocalFrame> m_frame; |
322 }; | 317 }; |
323 | 318 |
324 } // namespace blink | 319 } // namespace blink |
325 | 320 |
326 #endif // LocalFrame_h | 321 #endif // LocalFrame_h |
OLD | NEW |