Revert "Use dialog for wayback machine instead of infobar"

This commit is contained in:
Simon Hong
2024-03-14 08:40:35 +09:00
committed by GitHub
parent aa2427ca80
commit ab9c2ecba0
28 changed files with 253 additions and 479 deletions
@@ -13,6 +13,7 @@ import java.lang.annotation.RetentionPolicy;
// Reflects enum items from chromium_src/components/infobars/core/infobar_delegate.h
@IntDef({BraveInfoBarIdentifier.INVALID, BraveInfoBarIdentifier.BRAVE_CONFIRM_P3A_INFOBAR_DELEGATE,
BraveInfoBarIdentifier.WAYBACK_MACHINE_INFOBAR_DELEGATE,
BraveInfoBarIdentifier.SYNC_CANNOT_RUN_INFOBAR,
BraveInfoBarIdentifier.WEB_DISCOVERY_INFOBAR_DELEGATE,
BraveInfoBarIdentifier.BRAVE_SYNC_ACCOUNT_DELETED_INFOBAR})
@@ -21,7 +22,7 @@ import java.lang.annotation.RetentionPolicy;
public @interface BraveInfoBarIdentifier {
int INVALID = -1;
int BRAVE_CONFIRM_P3A_INFOBAR_DELEGATE = 500;
// int WAYBACK_MACHINE_INFOBAR_DELEGATE = 502; - deprecated
int WAYBACK_MACHINE_INFOBAR_DELEGATE = 502;
// int SYNC_V2_MIGRATE_INFOBAR_DELEGATE = 503; - deprecated
// int ANDROID_SYSTEM_SYNC_DISABLED_INFOBAR = 504; - deprecated
int SYNC_CANNOT_RUN_INFOBAR = 505;