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

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

Issue 722353002: Add development Blink setting for impl-side rubber-banding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | Source/core/frame/FrameView.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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void setVisibleContentScaleFactor(float); 156 void setVisibleContentScaleFactor(float);
157 157
158 // Scale used to convert incoming input events. Usually the same as visibleC ontentScaleFactor(), unless specifically changed. 158 // Scale used to convert incoming input events. Usually the same as visibleC ontentScaleFactor(), unless specifically changed.
159 float inputEventsScaleFactor() const; 159 float inputEventsScaleFactor() const;
160 // Offset used to convert incoming input events while emulating device metic s. 160 // Offset used to convert incoming input events while emulating device metic s.
161 IntSize inputEventsOffsetForEmulation() const; 161 IntSize inputEventsOffsetForEmulation() const;
162 void setInputEventsTransformForEmulation(const IntSize&, float); 162 void setInputEventsTransformForEmulation(const IntSize&, float);
163 163
164 void setScrollPosition(const DoublePoint&, ScrollBehavior = ScrollBehaviorIn stant); 164 void setScrollPosition(const DoublePoint&, ScrollBehavior = ScrollBehaviorIn stant);
165 virtual bool isRubberBandInProgress() const override; 165 virtual bool isRubberBandInProgress() const override;
166 virtual bool rubberBandingOnCompositorThread() const override;
166 void setScrollPositionNonProgrammatically(const IntPoint&); 167 void setScrollPositionNonProgrammatically(const IntPoint&);
167 168
168 // This is different than visibleContentRect() in that it ignores negative ( or overly positive) 169 // This is different than visibleContentRect() in that it ignores negative ( or overly positive)
169 // offsets from rubber-banding, and it takes zooming into account. 170 // offsets from rubber-banding, and it takes zooming into account.
170 LayoutRect viewportConstrainedVisibleContentRect() const; 171 LayoutRect viewportConstrainedVisibleContentRect() const;
171 void viewportConstrainedVisibleContentSizeChanged(bool widthChanged, bool he ightChanged); 172 void viewportConstrainedVisibleContentSizeChanged(bool widthChanged, bool he ightChanged);
172 173
173 AtomicString mediaType() const; 174 AtomicString mediaType() const;
174 void setMediaType(const AtomicString&); 175 void setMediaType(const AtomicString&);
175 void adjustMediaTypeForPrinting(bool printing); 176 void adjustMediaTypeForPrinting(bool printing);
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 } 838 }
838 839
839 private: 840 private:
840 RawPtrWillBeMember<FrameView> m_view; 841 RawPtrWillBeMember<FrameView> m_view;
841 bool m_originalValue; 842 bool m_originalValue;
842 }; 843 };
843 844
844 } // namespace blink 845 } // namespace blink
845 846
846 #endif // FrameView_h 847 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698