mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1018432 - Add telemetry for "+" button in tabs tray. r=mfinkle
This commit is contained in:
parent
f9d4fa0ba8
commit
0ee89f0163
@ -182,11 +182,13 @@ public class TabsPanel extends LinearLayout
|
||||
mPopupMenu.setAnchor(mMenuButton);
|
||||
}
|
||||
|
||||
public void addTab() {
|
||||
private void addTab() {
|
||||
if (mCurrentPanel == Panel.NORMAL_TABS) {
|
||||
mActivity.addTab();
|
||||
Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.ACTIONBAR, "new_tab");
|
||||
mActivity.addTab();
|
||||
} else {
|
||||
mActivity.addPrivateTab();
|
||||
Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.ACTIONBAR, "new_private_tab");
|
||||
mActivity.addPrivateTab();
|
||||
}
|
||||
|
||||
mActivity.autoHideTabs();
|
||||
|
Loading…
Reference in New Issue
Block a user