Commit 4abbbaa7 authored by Mugdha Lakhani's avatar Mugdha Lakhani Committed by Commit Bot

[WebLayer] Increment version for UrlBarController

Increment the version UrlBarController is available from.

Bug: 1025607
Change-Id: I1331921c937883e265b2f6cdf1520039f8f350cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2081416Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747215}
parent fcf99555
......@@ -45,7 +45,7 @@ public class Browser {
try {
mImpl.setClient(new BrowserClientImpl());
if (WebLayer.getSupportedMajorVersionInternal() >= 81) {
if (WebLayer.getSupportedMajorVersionInternal() >= 82) {
mUrlBarController = new UrlBarController(mImpl.getUrlBarController());
} else {
mUrlBarController = null;
......@@ -254,12 +254,12 @@ public class Browser {
/**
* Returns the UrlBarController.
* @since 81
* @since 82
*/
@NonNull
public UrlBarController getUrlBarController() {
ThreadCheck.ensureOnUiThread();
if (WebLayer.getSupportedMajorVersionInternal() < 81) {
if (WebLayer.getSupportedMajorVersionInternal() < 82) {
throw new UnsupportedOperationException();
}
return mUrlBarController;
......
......@@ -29,11 +29,11 @@ public class UrlBarController {
/**
* Creates a URL bar view based on the options provided.
* @param options The options provided to tweak the URL bar display.
* @since 81
* @since 82
*/
public View createUrlBarView(UrlBarOptions options) {
ThreadCheck.ensureOnUiThread();
if (WebLayer.getSupportedMajorVersionInternal() < 81) {
if (WebLayer.getSupportedMajorVersionInternal() < 82) {
throw new UnsupportedOperationException();
}
......
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