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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 String selectedTextForClipboard() const; | 155 String selectedTextForClipboard() const; |
156 | 156 |
157 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); | 157 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); |
158 Document* documentAtPoint(const IntPoint& windowPoint); | 158 Document* documentAtPoint(const IntPoint& windowPoint); |
159 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint); | 159 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint); |
160 | 160 |
161 bool isURLAllowed(const KURL&) const; | 161 bool isURLAllowed(const KURL&) const; |
162 bool shouldReuseDefaultView(const KURL&) const; | 162 bool shouldReuseDefaultView(const KURL&) const; |
163 void removeSpellingMarkersUnderWords(const Vector<String>& words); | 163 void removeSpellingMarkersUnderWords(const Vector<String>& words); |
164 | 164 |
| 165 // FIXME: once scroll customization is enabled everywhere |
| 166 // (crbug.com/416862), this should take a ScrollState object. |
| 167 bool applyScrollDelta(const FloatSize& delta, bool isScrollBegin); |
| 168 |
165 #if ENABLE(OILPAN) | 169 #if ENABLE(OILPAN) |
166 void registerPluginElement(HTMLPlugInElement*); | 170 void registerPluginElement(HTMLPlugInElement*); |
167 void unregisterPluginElement(HTMLPlugInElement*); | 171 void unregisterPluginElement(HTMLPlugInElement*); |
168 void clearWeakMembers(Visitor*); | 172 void clearWeakMembers(Visitor*); |
169 #endif | 173 #endif |
170 DisplayItemClient displayItemClient() const { return toDisplayItemClient
(this); } | 174 DisplayItemClient displayItemClient() const { return toDisplayItemClient
(this); } |
171 String debugName() const { return "LocalFrame"; } | 175 String debugName() const { return "LocalFrame"; } |
172 | 176 |
173 void setShouldSendDPRHint() { m_shouldSendDPRHint = true; } | 177 void setShouldSendDPRHint() { m_shouldSendDPRHint = true; } |
174 void setShouldSendRWHint() { m_shouldSendRWHint = true; } | 178 void setShouldSendRWHint() { m_shouldSendRWHint = true; } |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 313 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
310 | 314 |
311 } // namespace blink | 315 } // namespace blink |
312 | 316 |
313 // During refactoring, there are some places where we need to do type conversion
s that | 317 // During refactoring, there are some places where we need to do type conversion
s that |
314 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 318 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
315 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 319 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
316 #define toLocalFrameTemporary toLocalFrame | 320 #define toLocalFrameTemporary toLocalFrame |
317 | 321 |
318 #endif // LocalFrame_h | 322 #endif // LocalFrame_h |
OLD | NEW |