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

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

Issue 1557993002: Add scroll units in GestureEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> positionForPoi nt(const IntPoint& framePoint); 164 PositionWithAffinityTemplate<EditingAlgorithm<NodeTraversal>> positionForPoi nt(const IntPoint& framePoint);
165 Document* documentAtPoint(const IntPoint&); 165 Document* documentAtPoint(const IntPoint&);
166 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint(const IntPoint& framePoint); 166 EphemeralRangeTemplate<EditingAlgorithm<NodeTraversal>> rangeForPoint(const IntPoint& framePoint);
167 167
168 bool isURLAllowed(const KURL&) const; 168 bool isURLAllowed(const KURL&) const;
169 bool shouldReuseDefaultView(const KURL&) const; 169 bool shouldReuseDefaultView(const KURL&) const;
170 void removeSpellingMarkersUnderWords(const Vector<String>& words); 170 void removeSpellingMarkersUnderWords(const Vector<String>& words);
171 171
172 // FIXME: once scroll customization is enabled everywhere 172 // FIXME: once scroll customization is enabled everywhere
173 // (crbug.com/416862), this should take a ScrollState object. 173 // (crbug.com/416862), this should take a ScrollState object.
174 ScrollResult applyScrollDelta(const FloatSize& delta, bool isScrollBegin); 174 ScrollResult applyScrollDelta(ScrollGranularity, const FloatSize& delta, boo l isScrollBegin);
175 bool shouldScrollTopControls(const FloatSize& delta) const; 175 bool shouldScrollTopControls(const FloatSize& delta) const;
176 176
177 // DisplayItemClient methods 177 // DisplayItemClient methods
178 String debugName() const final { return "LocalFrame"; } 178 String debugName() const final { return "LocalFrame"; }
179 // TODO(chrishtr): fix this. 179 // TODO(chrishtr): fix this.
180 IntRect visualRect() const override { return IntRect(); } 180 IntRect visualRect() const override { return IntRect(); }
181 181
182 bool shouldThrottleRendering() const; 182 bool shouldThrottleRendering() const;
183 183
184 // Returns the frame scheduler, creating one if needed. 184 // Returns the frame scheduler, creating one if needed.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 explicit FrameNavigationDisabler(LocalFrame&); 322 explicit FrameNavigationDisabler(LocalFrame&);
323 ~FrameNavigationDisabler(); 323 ~FrameNavigationDisabler();
324 324
325 private: 325 private:
326 RawPtrWillBeMember<LocalFrame> m_frame; 326 RawPtrWillBeMember<LocalFrame> m_frame;
327 }; 327 };
328 328
329 } // namespace blink 329 } // namespace blink
330 330
331 #endif // LocalFrame_h 331 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698