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

weblayer: adds some more javadoc

BUG=none
TEST=none

Change-Id: I28be78610c709b4eebbb951afeee1dfbd3477c24
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888786
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: default avatarDarin Fisher <darin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710820}
parent cc22b959
......@@ -29,7 +29,11 @@ public final class BrowserFragmentController {
mProfileManager = profileManager;
}
// TODO(pshmakov): rename this to BrowserTabController.
/**
* Returns the BrowserController associated with this BrowserFragmentController.
*
* @return The BrowserController.
*/
@NonNull
public BrowserController getBrowserController() {
ThreadCheck.ensureOnUiThread();
......@@ -43,6 +47,12 @@ public final class BrowserFragmentController {
return mController;
}
/**
* Sets the View shown at the top of the browser. A value of null removes the view. The
* top-view is typically used to show the uri. The top-view scrolls with the page.
*
* @param view The new top-view.
*/
public void setTopView(@Nullable View view) {
ThreadCheck.ensureOnUiThread();
try {
......
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