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

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

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add ~Scrollbar assert Created 6 years, 2 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) 2008, 2011 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2011 Apple 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 virtual int lineStep(ScrollbarOrientation) const; 261 virtual int lineStep(ScrollbarOrientation) const;
262 virtual int pageStep(ScrollbarOrientation) const; 262 virtual int pageStep(ScrollbarOrientation) const;
263 virtual int documentStep(ScrollbarOrientation) const; 263 virtual int documentStep(ScrollbarOrientation) const;
264 virtual float pixelStep(ScrollbarOrientation) const; 264 virtual float pixelStep(ScrollbarOrientation) const;
265 265
266 // Stores the paint invalidations for the scrollbars during layout. 266 // Stores the paint invalidations for the scrollbars during layout.
267 IntRect m_horizontalBarDamage; 267 IntRect m_horizontalBarDamage;
268 IntRect m_verticalBarDamage; 268 IntRect m_verticalBarDamage;
269 269
270 struct ScrollableAreaAnimators { 270 struct ScrollableAreaAnimators {
271 OwnPtr<ScrollAnimator> scrollAnimator; 271 RefPtr<ScrollAnimator> scrollAnimator;
272 OwnPtr<ProgrammaticScrollAnimator> programmaticScrollAnimator; 272 OwnPtr<ProgrammaticScrollAnimator> programmaticScrollAnimator;
273 }; 273 };
274 274
275 mutable OwnPtr<ScrollableAreaAnimators> m_animators; 275 mutable OwnPtr<ScrollableAreaAnimators> m_animators;
276 unsigned m_constrainsScrollingToContentEdge : 1; 276 unsigned m_constrainsScrollingToContentEdge : 1;
277 277
278 unsigned m_inLiveResize : 1; 278 unsigned m_inLiveResize : 1;
279 279
280 unsigned m_verticalScrollElasticity : 2; // ScrollElasticity 280 unsigned m_verticalScrollElasticity : 2; // ScrollElasticity
281 unsigned m_horizontalScrollElasticity : 2; // ScrollElasticity 281 unsigned m_horizontalScrollElasticity : 2; // ScrollElasticity
(...skipping 12 matching lines...) Expand all
294 // vertical-lr / ltr NO NO 294 // vertical-lr / ltr NO NO
295 // vertical-lr / rtl NO YES 295 // vertical-lr / rtl NO YES
296 // vertical-rl / ltr YES NO 296 // vertical-rl / ltr YES NO
297 // vertical-rl / rtl YES YES 297 // vertical-rl / rtl YES YES
298 IntPoint m_scrollOrigin; 298 IntPoint m_scrollOrigin;
299 }; 299 };
300 300
301 } // namespace blink 301 } // namespace blink
302 302
303 #endif // ScrollableArea_h 303 #endif // ScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698