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

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

Issue 871013005: Notify ProgrammaticScrollAnimator about scroll layer destruction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 virtual GraphicsLayer* layerForContainer() const; 248 virtual GraphicsLayer* layerForContainer() const;
249 virtual GraphicsLayer* layerForScrolling() const { return 0; } 249 virtual GraphicsLayer* layerForScrolling() const { return 0; }
250 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; } 250 virtual GraphicsLayer* layerForHorizontalScrollbar() const { return 0; }
251 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; } 251 virtual GraphicsLayer* layerForVerticalScrollbar() const { return 0; }
252 virtual GraphicsLayer* layerForScrollCorner() const { return 0; } 252 virtual GraphicsLayer* layerForScrollCorner() const { return 0; }
253 bool hasLayerForHorizontalScrollbar() const; 253 bool hasLayerForHorizontalScrollbar() const;
254 bool hasLayerForVerticalScrollbar() const; 254 bool hasLayerForVerticalScrollbar() const;
255 bool hasLayerForScrollCorner() const; 255 bool hasLayerForScrollCorner() const;
256 256
257 void layerForScrollingDidChange();
258
257 void cancelProgrammaticScrollAnimation(); 259 void cancelProgrammaticScrollAnimation();
258 260
259 protected: 261 protected:
260 ScrollableArea(); 262 ScrollableArea();
261 virtual ~ScrollableArea(); 263 virtual ~ScrollableArea();
262 264
263 void setScrollOrigin(const IntPoint&); 265 void setScrollOrigin(const IntPoint&);
264 void resetScrollOriginChanged() { m_scrollOriginChanged = false; } 266 void resetScrollOriginChanged() { m_scrollOriginChanged = false; }
265 267
266 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) = 0; 268 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) = 0;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // vertical-lr / ltr NO NO 324 // vertical-lr / ltr NO NO
323 // vertical-lr / rtl NO YES 325 // vertical-lr / rtl NO YES
324 // vertical-rl / ltr YES NO 326 // vertical-rl / ltr YES NO
325 // vertical-rl / rtl YES YES 327 // vertical-rl / rtl YES YES
326 IntPoint m_scrollOrigin; 328 IntPoint m_scrollOrigin;
327 }; 329 };
328 330
329 } // namespace blink 331 } // namespace blink
330 332
331 #endif // ScrollableArea_h 333 #endif // ScrollableArea_h
OLDNEW
« no previous file with comments | « Source/platform/scroll/ProgrammaticScrollAnimator.cpp ('k') | Source/platform/scroll/ScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698