root/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarListeners.java

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. onInfoBarDismissed
  2. onConfirmInfoBarButtonClicked

// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.chromium.chrome.browser.infobar;

/**
 * A collection of listeners for different infobar events.
 */
public class InfoBarListeners {

    /**
     * Called whenever an infobar is dismissed, either manually or as a side
     * effect of a navigation, replacing the infobar...
     */
    public interface Dismiss {
        void onInfoBarDismissed(InfoBar infoBar);
    }

    public interface Confirm extends Dismiss {
        /**
         * Called whenever an infobar's confirm or cancel button is clicked.
         */
        public void onConfirmInfoBarButtonClicked(
                ConfirmInfoBar infoBar, boolean confirm);
    }

}

/* [<][>][^][v][top][bottom][index][help] */