From cafd9f1465e7d87e3aeb5b7094c853c3736867f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lenclud?= Date: Mon, 2 Oct 2023 12:02:21 +0200 Subject: [PATCH] Add a couple of comments --- .../java/acr/browser/lightning/view/WebPageChromeClient.kt | 3 +++ app/src/main/java/acr/browser/lightning/view/WebPageClient.kt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/acr/browser/lightning/view/WebPageChromeClient.kt b/app/src/main/java/acr/browser/lightning/view/WebPageChromeClient.kt index d704dcd79..25d4e9440 100644 --- a/app/src/main/java/acr/browser/lightning/view/WebPageChromeClient.kt +++ b/app/src/main/java/acr/browser/lightning/view/WebPageChromeClient.kt @@ -30,6 +30,9 @@ import dagger.hilt.android.EntryPointAccessors import io.reactivex.Scheduler import timber.log.Timber +/** + * We have one instance of this per [WebView]. + */ class WebPageChromeClient( private val activity: Activity, private val webPageTab: WebPageTab diff --git a/app/src/main/java/acr/browser/lightning/view/WebPageClient.kt b/app/src/main/java/acr/browser/lightning/view/WebPageClient.kt index c373fbeb3..9f0cde246 100644 --- a/app/src/main/java/acr/browser/lightning/view/WebPageClient.kt +++ b/app/src/main/java/acr/browser/lightning/view/WebPageClient.kt @@ -60,7 +60,7 @@ import java.util.* import kotlin.math.abs /** - * + * We have one instance of this per [WebView] and our [WebPageTab] also as a reference to it. */ class WebPageClient( private val activity: Activity,