- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / android / java / src / org / chromium / chrome / browser / infobar / SubPanelListener.java
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 package org.chromium.chrome.browser.infobar;
5
6 /**
7  * A listener to interact with the different subpanels of the translate infobar.
8  */
9 public interface SubPanelListener {
10
11     /**
12      * Called whenever a sub panel is closed.
13      * @param action one of the action types in {@code InfoBar}
14      */
15     public void onPanelClosed(int action);
16
17     /**
18      * Called to indicate that the current options should be persisted.
19      */
20     public void onOptionsChanged();
21 }