Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: Source/core/frame/LocalFrame.h

Issue 850443002: Scroll Customization Prototype (Not for review, WIP) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase / cleanup / minor bug fixes Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
157 String selectedTextForClipboard() const; 157 String selectedTextForClipboard() const;
158 158
159 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); 159 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint);
160 Document* documentAtPoint(const IntPoint& windowPoint); 160 Document* documentAtPoint(const IntPoint& windowPoint);
161 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint); 161 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint);
162 162
163 bool isURLAllowed(const KURL&) const; 163 bool isURLAllowed(const KURL&) const;
164 bool shouldReuseDefaultView(const KURL&) const; 164 bool shouldReuseDefaultView(const KURL&) const;
165 void removeSpellingMarkersUnderWords(const Vector<String>& words); 165 void removeSpellingMarkersUnderWords(const Vector<String>& words);
166 166
167 bool scrollByDelta(const FloatSize& delta);
168
167 #if ENABLE(OILPAN) 169 #if ENABLE(OILPAN)
168 void registerPluginElement(HTMLPlugInElement*); 170 void registerPluginElement(HTMLPlugInElement*);
169 void unregisterPluginElement(HTMLPlugInElement*); 171 void unregisterPluginElement(HTMLPlugInElement*);
170 void clearWeakMembers(Visitor*); 172 void clearWeakMembers(Visitor*);
171 #endif 173 #endif
172 DisplayItemClient displayItemClient() const { return toDisplayItemClient (this); } 174 DisplayItemClient displayItemClient() const { return toDisplayItemClient (this); }
173 175
174 void setShouldSendDPRHint() { m_shouldSendDPRHint = true; } 176 void setShouldSendDPRHint() { m_shouldSendDPRHint = true; }
175 void setShouldSendRWHint() { m_shouldSendRWHint = true; } 177 void setShouldSendRWHint() { m_shouldSendRWHint = true; }
176 bool shouldSendDPRHint() { return m_shouldSendDPRHint; } 178 bool shouldSendDPRHint() { return m_shouldSendDPRHint; }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); 313 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame());
312 314
313 } // namespace blink 315 } // namespace blink
314 316
315 // 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
316 // 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.
317 // 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.
318 #define toLocalFrameTemporary toLocalFrame 320 #define toLocalFrameTemporary toLocalFrame
319 321
320 #endif // LocalFrame_h 322 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698