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

Side by Side Diff: Source/platform/scroll/ScrollTypes.h

Issue 977663002: Mac: Delete now-dead elastic overscroll code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/platform/scroll/ScrollAnimator.h ('k') | Source/platform/scroll/ScrollableArea.h » ('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) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } 105 }
106 106
107 enum ScrollGranularity { 107 enum ScrollGranularity {
108 ScrollByLine, 108 ScrollByLine,
109 ScrollByPage, 109 ScrollByPage,
110 ScrollByDocument, 110 ScrollByDocument,
111 ScrollByPixel, 111 ScrollByPixel,
112 ScrollByPrecisePixel 112 ScrollByPrecisePixel
113 }; 113 };
114 114
115 enum ScrollElasticity {
116 ScrollElasticityAutomatic,
117 ScrollElasticityNone,
118 ScrollElasticityAllowed
119 };
120
121 enum ScrollbarOrientation { HorizontalScrollbar, VerticalScrollbar }; 115 enum ScrollbarOrientation { HorizontalScrollbar, VerticalScrollbar };
122 116
123 enum ScrollbarMode { ScrollbarAuto, ScrollbarAlwaysOff, ScrollbarAlwaysOn }; 117 enum ScrollbarMode { ScrollbarAuto, ScrollbarAlwaysOff, ScrollbarAlwaysOn };
124 118
125 enum ScrollbarControlSize { RegularScrollbar, SmallScrollbar }; 119 enum ScrollbarControlSize { RegularScrollbar, SmallScrollbar };
126 120
127 typedef unsigned ScrollbarControlState; 121 typedef unsigned ScrollbarControlState;
128 122
129 enum ScrollbarControlStateMask { 123 enum ScrollbarControlStateMask {
130 ActiveScrollbarState = 1, 124 ActiveScrollbarState = 1,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 bool didScroll; 182 bool didScroll;
189 float unusedScrollDeltaX; 183 float unusedScrollDeltaX;
190 float unusedScrollDeltaY; 184 float unusedScrollDeltaY;
191 }; 185 };
192 186
193 typedef unsigned ScrollbarControlPartMask; 187 typedef unsigned ScrollbarControlPartMask;
194 188
195 } 189 }
196 190
197 #endif 191 #endif
OLDNEW
« no previous file with comments | « Source/platform/scroll/ScrollAnimator.h ('k') | Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698