| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 PassOwnPtr<DragImage> nodeImage(Node&); | 136 PassOwnPtr<DragImage> nodeImage(Node&); |
| 137 PassOwnPtr<DragImage> dragImageForSelection(); | 137 PassOwnPtr<DragImage> dragImageForSelection(); |
| 138 | 138 |
| 139 String selectedText() const; | 139 String selectedText() const; |
| 140 String selectedTextForClipboard() const; | 140 String selectedTextForClipboard() const; |
| 141 | 141 |
| 142 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); | 142 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); |
| 143 Document* documentAtPoint(const IntPoint& windowPoint); | 143 Document* documentAtPoint(const IntPoint& windowPoint); |
| 144 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint); | 144 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint); |
| 145 | 145 |
| 146 // Should only be called on the main frame of a page. | |
| 147 void notifyChromeClientWheelEventHandlerCountChanged() const; | |
| 148 | |
| 149 bool isURLAllowed(const KURL&) const; | 146 bool isURLAllowed(const KURL&) const; |
| 150 | 147 |
| 151 // ======== | 148 // ======== |
| 152 | 149 |
| 153 private: | 150 private: |
| 154 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); | 151 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); |
| 155 | 152 |
| 156 String localLayerTreeAsText(unsigned flags) const; | 153 String localLayerTreeAsText(unsigned flags) const; |
| 157 | 154 |
| 158 mutable FrameLoader m_loader; | 155 mutable FrameLoader m_loader; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 240 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
| 244 | 241 |
| 245 } // namespace WebCore | 242 } // namespace WebCore |
| 246 | 243 |
| 247 // During refactoring, there are some places where we need to do type conversion
s that | 244 // During refactoring, there are some places where we need to do type conversion
s that |
| 248 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 245 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
| 249 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 246 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
| 250 #define toLocalFrameTemporary toLocalFrame | 247 #define toLocalFrameTemporary toLocalFrame |
| 251 | 248 |
| 252 #endif // LocalFrame_h | 249 #endif // LocalFrame_h |
| OLD | NEW |