Commit bd26388c authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

weblayer: revise comment for ScrollOffsetCallback

It wasn't clear whether the supplied parameter is a delta or absolute
value. Hopefully this clears that up.

BUG=none
TEST=none

Change-Id: Ic0921d209c1c11f125cdc6b8821d9bf265c8cd77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2487683Reviewed-by: default avatarBo <boliu@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819074}
parent d7a255d9
...@@ -19,7 +19,10 @@ package org.chromium.weblayer; ...@@ -19,7 +19,10 @@ package org.chromium.weblayer;
*/ */
public abstract class ScrollOffsetCallback { public abstract class ScrollOffsetCallback {
/** /**
* Called when the scroll offset of the content of a Tab changes. * Called when the vertical scroll location of the content of a Tab changes.
*
* @param scrollLocation The new vertical location. More specifically, the 'scrollTop' html
* property.
*/ */
public abstract void onVerticalScrollOffsetChanged(int scrollOffset); public abstract void onVerticalScrollOffsetChanged(int scrollLocation);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment