| Index: chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
|
| index c2b44e82fcd2d256e5dc91740d811ecd0caf46c2..c926bb42f9bed7b8de4ee5c166189b5731d72f99 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
|
| @@ -121,6 +121,7 @@ public abstract class InfoBar implements InfoBarView {
|
| private boolean closeInfoBar() {
|
| if (!mIsDismissed) {
|
| mIsDismissed = true;
|
| + onInfoBarClosed();
|
| if (!mContainer.hasBeenDestroyed()) {
|
| // If the container was destroyed, it's already been emptied of all its infobars.
|
| mContainer.removeInfoBar(this);
|
| @@ -149,6 +150,10 @@ public abstract class InfoBar implements InfoBarView {
|
| }
|
|
|
| @Override
|
| + public void onInfoBarClosed() {
|
| + }
|
| +
|
| + @Override
|
| public void onLinkClicked() {
|
| if (mNativeInfoBarPtr != 0) nativeOnLinkClicked(mNativeInfoBarPtr);
|
| }
|
|
|