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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 165 // FIXME: once scroll customization is enabled everywhere |
166 // (crbug.com/416862), this should take a ScrollState object. | 166 // (crbug.com/416862), this should take a ScrollState object. |
167 bool applyScrollDelta(const FloatSize& delta, bool isScrollBegin); | 167 ScrollResult applyScrollDelta(const FloatSize& delta, bool isScrollBegin
); |
168 bool shouldScrollTopControls(const FloatSize& delta) const; | 168 bool shouldScrollTopControls(const FloatSize& delta) const; |
169 | 169 |
170 #if ENABLE(OILPAN) | 170 #if ENABLE(OILPAN) |
171 void registerPluginElement(HTMLPlugInElement*); | 171 void registerPluginElement(HTMLPlugInElement*); |
172 void unregisterPluginElement(HTMLPlugInElement*); | 172 void unregisterPluginElement(HTMLPlugInElement*); |
173 void clearWeakMembers(Visitor*); | 173 void clearWeakMembers(Visitor*); |
174 #endif | 174 #endif |
175 DisplayItemClient displayItemClient() const { return toDisplayItemClient
(this); } | 175 DisplayItemClient displayItemClient() const { return toDisplayItemClient
(this); } |
176 String debugName() const { return "LocalFrame"; } | 176 String debugName() const { return "LocalFrame"; } |
177 | 177 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 304 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
305 | 305 |
306 } // namespace blink | 306 } // namespace blink |
307 | 307 |
308 // During refactoring, there are some places where we need to do type conversion
s that | 308 // During refactoring, there are some places where we need to do type conversion
s that |
309 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 309 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
310 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 310 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
311 #define toLocalFrameTemporary toLocalFrame | 311 #define toLocalFrameTemporary toLocalFrame |
312 | 312 |
313 #endif // LocalFrame_h | 313 #endif // LocalFrame_h |
OLD | NEW |