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

Unified Diff: ui/views/controls/scroll_view.h

Issue 2680953002: Remove GraphicsLayer::didScroll and directly call ScrollableArea::didScroll (Closed)
Patch Set: Remove unneeded tests from parent patch Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/scroll_view.h
diff --git a/ui/views/controls/scroll_view.h b/ui/views/controls/scroll_view.h
index 6dc43932ee76c365d30c6337d57a9c9cab99fce7..db38b2c8e7560cab7415c0d73caf48124207afcc 100644
--- a/ui/views/controls/scroll_view.h
+++ b/ui/views/controls/scroll_view.h
@@ -149,7 +149,7 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController {
bool ScrollsWithLayers() const;
// Callback entrypoint when hosted Layers are scrolled by the Compositor.
- void OnLayerScrolled();
+ void OnLayerScrolled(const gfx::ScrollOffset& offset);
// Horizontally scrolls the header (if any) to match the contents.
void ScrollHeader();

Powered by Google App Engine
This is Rietveld 408576698