mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1188984 - Remove 'public' and 'static' keywords from nested interfaces and enums in TabPanel. r=sebastian
This commit is contained in:
parent
26b85c489b
commit
016bba9ceb
@ -45,24 +45,24 @@ public class TabsPanel extends LinearLayout
|
||||
IconTabWidget.OnTabChangedListener {
|
||||
private static final String LOGTAG = "Gecko" + TabsPanel.class.getSimpleName();
|
||||
|
||||
public static enum Panel {
|
||||
public enum Panel {
|
||||
NORMAL_TABS,
|
||||
PRIVATE_TABS,
|
||||
}
|
||||
|
||||
public static interface PanelView {
|
||||
public void setTabsPanel(TabsPanel panel);
|
||||
public void show();
|
||||
public void hide();
|
||||
public boolean shouldExpand();
|
||||
public interface PanelView {
|
||||
void setTabsPanel(TabsPanel panel);
|
||||
void show();
|
||||
void hide();
|
||||
boolean shouldExpand();
|
||||
}
|
||||
|
||||
public static interface CloseAllPanelView extends PanelView {
|
||||
public void closeAll();
|
||||
public interface CloseAllPanelView extends PanelView {
|
||||
void closeAll();
|
||||
}
|
||||
|
||||
public static interface TabsLayout extends CloseAllPanelView {
|
||||
public void setEmptyView(View view);
|
||||
public interface TabsLayout extends CloseAllPanelView {
|
||||
void setEmptyView(View view);
|
||||
}
|
||||
|
||||
public static View createTabsLayout(final Context context, final AttributeSet attrs) {
|
||||
@ -73,8 +73,8 @@ public class TabsPanel extends LinearLayout
|
||||
}
|
||||
}
|
||||
|
||||
public static interface TabsLayoutChangeListener {
|
||||
public void onTabsLayoutChange(int width, int height);
|
||||
public interface TabsLayoutChangeListener {
|
||||
void onTabsLayoutChange(int width, int height);
|
||||
}
|
||||
|
||||
private final Context mContext;
|
||||
|
Loading…
Reference in New Issue
Block a user