Chromium change: https://chromium.googlesource.com/chromium/src/+/c909285bad37c1d74b163429512d5733f628e260 [A11y] Throttle tab closure undo snackbar while tab grid dialog visible While the tab grid dialog is visible we disable the UndoBarController and instead use a custom implementation of the UndoBarController in TabGridDialogMediator to handle the undo snackbar inside the tab grid dialog. However, when closing all the tabs shown in the tab grid dialog we still want to show an undo snackbar using the UndoBarController. As such the disabled state only exists while the tab grid dialog is fully visible. Normally this works fine. However, with recent changes to snackbar accessibility announcements, the animation would clobber the snackbar announcing its appearance which is a poor user experience. This CL introduces the ability to throttle the UndoBarController. While throttled, tab closure events are queued rather than dropped. When the throttling is stopped all queued events are displayed. If any tab closure events become obsolete while in the queue they are removed from the queue. The throttling interface is built on TokenHolder and allows multiple concurrent throttles, only releasing when all throttling is ended. Presently, there is no TTL for events in the queue as it isn't necessary for the tab grid dialog case as the period in which events are only throttled and not dropped entirely is only the duration of an animation which is very short. Moreover, many actions on the TabModel force clear the queue, such as opening a new tab. In the future, if throttling is more prevalent we could elect to implement a TTL for items in the queue to ensure tabs don't remain in the pending closure state indefinitely. One possible implementation is to post a delayed task to wipe an event out of the queue X seconds after it was added. Fixed: 39592572
979 lines
28 KiB
Plaintext
979 lines
28 KiB
Plaintext
# Copyright 2020 The Brave Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Contains flags that should be applied only to brave_public_apk_for_test.
|
|
|
|
# Do not obfuscate class names, methods and fields that are
|
|
# needed for checking of existence for bytecode manipulation
|
|
-keepnames class org.chromium.chrome.browser.settings.MainSettings
|
|
|
|
# Do not obfuscate the above classes as we check on fields in tests
|
|
-keep class org.chromium.brave_wallet.mojom.BlockchainToken { *; }
|
|
-keep class org.chromium.brave_wallet.mojom.SwapQuoteParams { *; }
|
|
-keep class org.chromium.brave_wallet.mojom.AccountInfo { *; }
|
|
-keep class org.chromium.brave_wallet.mojom.TxData { *; }
|
|
-keep class org.chromium.brave_wallet.mojom.GasEstimation1559 { *; }
|
|
-keep class org.chromium.brave_wallet.mojom.TxData1559 { *; }
|
|
-keep class org.chromium.brave_wallet.mojom.NetworkInfo { *; }
|
|
-keep class org.chromium.components.browser_ui.media.BraveMediaSessionHelper { *; }
|
|
-keep class org.chromium.content_public.browser.MediaSessionObserver { *; }
|
|
-keep class org.chromium.ui.ViewProvider { *; }
|
|
-keep class org.chromium.components.browser_ui.media.MediaSessionHelper { *; }
|
|
-keep class org.chromium.components.browser_ui.notifications.ForegroundServiceUtils { *; }
|
|
-keep class org.chromium.chrome.browser.media.ui.ChromeMediaNotificationControllerDelegate { *; }
|
|
-keep class org.chromium.chrome.browser.media.ui.MediaSessionTabHelper { *; }
|
|
-keep class org.chromium.components.browser_ui.notifications.BraveForegroundServiceUtils { *; }
|
|
-keep class org.chromium.chrome.browser.media.ui.BraveMediaNotificationControllerDelegate { *; }
|
|
-keep class org.chromium.chrome.browser.media.ui.BraveMediaSessionTabHelper { *; }
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkBridge {
|
|
*** mNativeBookmarkBridge;
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkBridge {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.LaunchIntentDispatcher {
|
|
*** isCustomTabIntent(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.homepage.HomepageManager {
|
|
*** shouldCloseAppWithZeroTabs(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ntp.NewTabPageLayout {
|
|
*** mMvTilesContainerLayout;
|
|
*** mLogoCoordinator;
|
|
*** mInitialTileNum;
|
|
*** mProfile;
|
|
*** insertSiteSectionView(...);
|
|
*** setSearchProviderTopMargin(...);
|
|
*** setSearchProviderBottomMargin(...);
|
|
*** getLogoMargin(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.suggestions.tile.MostVisitedTilesMediator {
|
|
*** mTileGroup;
|
|
public <init>(...);
|
|
*** updateTilePlaceholderVisibility(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.suggestions.tile.BraveMostVisitedTilesMediator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ntp.NewTabPage {
|
|
public <init>(...);
|
|
*** mBrowserControlsStateProvider;
|
|
*** mNewTabPageLayout;
|
|
*** mFeedSurfaceProvider;
|
|
*** mToolbarSupplier;
|
|
*** mBottomSheetController;
|
|
*** mTabStripHeightSupplier;
|
|
*** updateSearchProviderHasLogo(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ntp.BraveNewTabPage {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.sync.settings.ManageSyncSettings {
|
|
*** mGoogleActivityControls;
|
|
*** mSyncEncryption;
|
|
*** mSyncEverything;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.password_manager.settings.PasswordAccessReauthenticationHelper {
|
|
*** mCallback;
|
|
*** mFragmentManager;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.search_engines.settings.SearchEngineAdapter {
|
|
*** mProfile;
|
|
*** getSearchEngineSourceType(...);
|
|
*** sortAndFilterUnnecessaryTemplateUrl(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.search_engines.settings.SearchEngineSettings {
|
|
*** mProfile;
|
|
*** mSearchEngineAdapter;
|
|
*** createAdapterIfNecessary(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.SiteSettingsCategory {
|
|
*** contentSettingsType(...);
|
|
*** preferenceKey(...);
|
|
}
|
|
|
|
-keep class org.chromium.base.CommandLineInitUtil {
|
|
*** initCommandLine(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ui.appmenu.AppMenu {
|
|
public <init>(...);
|
|
*** getPopupPosition(...);
|
|
*** runMenuItemEnterAnimations(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ui.appmenu.BraveAppMenu {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.bottom.BottomControlsCoordinator {
|
|
*** mMediator;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.ToolbarManager {
|
|
public <init>(...);
|
|
*** mBottomControlsCoordinatorSupplier;
|
|
*** mCallbackController;
|
|
*** mBottomControlsStacker;
|
|
*** mFullscreenManager;
|
|
*** mActivityTabProvider;
|
|
*** mAppThemeColorProvider;
|
|
*** mScrimManager;
|
|
*** mMenuButtonCoordinator;
|
|
*** mToolbarTabController;
|
|
*** mLocationBar;
|
|
*** mActionModeController;
|
|
*** mLocationBarModel;
|
|
*** mToolbar;
|
|
*** mBookmarkModelSupplier;
|
|
*** mLayoutManager;
|
|
*** mOverlayPanelVisibilitySupplier;
|
|
*** mTabModelSelector;
|
|
*** mIncognitoStateProvider;
|
|
*** mTabGroupUi;
|
|
*** mBottomSheetController;
|
|
*** mTabContentManager;
|
|
*** mTabCreatorManager;
|
|
*** mModalDialogManagerSupplier;
|
|
*** mTabObscuringHandler;
|
|
*** mReadAloudControllerSupplier;
|
|
*** mTopUiThemeColorProvider;
|
|
*** mCurrentOrientation;
|
|
*** mInitializedWithNative;
|
|
*** mTabGroupUiOneshotSupplier;
|
|
*** mUndoBarThrottle;
|
|
*** onOrientationChange(...);
|
|
*** updateBookmarkButtonStatus(...);
|
|
*** updateReloadState(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.top.TopToolbarCoordinator {
|
|
*** mOptionalButtonController;
|
|
*** mToolbarColorObserverManager;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.top.BraveTopToolbarCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.download.MimeUtils {
|
|
*** canAutoOpenMimeType(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.app.ChromeActivity {
|
|
*** mBrowserControlsManagerSupplier;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabbed_mode.TabbedRootUiCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabbed_mode.TabbedAppMenuPropertiesDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.appmenu.BraveTabbedAppMenuPropertiesDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabmodel.ChromeTabCreator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabmodel.BraveTabCreator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkUtils {
|
|
*** addOrEditBookmark(...);
|
|
*** isSpecialFolder(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkToolbar {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkToolbar {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkToolbarCoordinator {
|
|
*** mToolbar;
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkToolbarCoordinator {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.app.bookmarks.BookmarkActivity {
|
|
*** mBookmarkManagerCoordinator;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.app.bookmarks.BraveBookmarkActivity {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.customtabs.CustomTabActivity {
|
|
*** mIsEnterAnimationCompleted;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.customtabs.FullScreenCustomTabActivity {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkManagerCoordinator {
|
|
*** mMediator;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkManagerCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkManagerMediator {
|
|
*** mBookmarkModel;
|
|
*** mContext;
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkManagerMediator {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkModel {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkModel {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkPage {
|
|
*** mBookmarkManagerCoordinator;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkPage {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.base.shared_preferences.StrictPreferenceKeyChecker {
|
|
<init>(...);
|
|
*** isKeyInUse(...);
|
|
}
|
|
|
|
-keep class org.chromium.base.shared_preferences.BraveStrictPreferenceKeyChecker {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.BraveToolbarManager {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.bottom.BottomControlsMediator {
|
|
<init>(...);
|
|
*** mBottomControlsHeight;
|
|
*** mModel;
|
|
*** mBottomControlsStacker;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.bottom.BraveBottomControlsMediator {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.password_manager.settings.PasswordSettings {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.password_manager.settings.BravePasswordSettingsBase {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.app.appmenu.AppMenuPropertiesDelegateImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.app.appmenu.BraveAppMenuPropertiesDelegateImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.customtabs.CustomTabAppMenuPropertiesDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.settings.SettingsNavigationImpl {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.settings.BraveSettingsLauncherImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.tab_management.TabGroupUiCoordinator {
|
|
public <init>(...);
|
|
*** mToolbarView;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.tab_management.BraveTabGroupUiCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.site_settings.BraveSiteSettingsDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.site_settings.BraveSingleCategorySettings {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.SingleCategorySettings {
|
|
public <init>(...);
|
|
*** onOptionsItemSelected(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.site_settings.ChromeSiteSettingsDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.settings.BraveMainPreferencesBase
|
|
|
|
-keep class org.chromium.chrome.browser.search_engines.settings.BraveBaseSearchEngineAdapter
|
|
|
|
-keep class org.chromium.chrome.browser.ChromeTabbedActivity
|
|
|
|
-keep class org.chromium.chrome.browser.app.BraveActivity
|
|
|
|
-keep class org.chromium.chrome.browser.media.BravePictureInPictureActivity
|
|
|
|
-keep class org.chromium.chrome.browser.suggestions.tile.SuggestionsTileView
|
|
|
|
-keep class org.chromium.chrome.browser.suggestions.tile.BraveTileView
|
|
|
|
-keep class org.chromium.chrome.browser.customtabs.features.toolbar.CustomTabToolbar
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.top.BraveToolbarLayoutImpl
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.top.ToolbarPhone {
|
|
*** mLocationBarBackgroundColorForNtp;
|
|
*** mToolbarBackgroundColorForNtp;
|
|
}
|
|
|
|
-keep class org.chromium.components.permissions.PermissionDialogModelFactory {
|
|
*** getModel(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.notifications.NotificationManagerProxyImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.notifications.BraveNotificationManagerProxyImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.status.StatusMediator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.status.BraveStatusMediator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.feed.FeedSurfaceCoordinator {
|
|
*** mActivity;
|
|
*** mNtpHeader;
|
|
*** mRootView;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.feed.FeedSurfaceMediator {
|
|
<init>(...);
|
|
*** mCoordinator;
|
|
*** mSnapScrollHelper;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.feed.BraveFeedSurfaceMediator {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.menu_button.MenuButtonCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.menu_button.BraveMenuButtonCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.theme.ThemeUtils {
|
|
*** getTextBoxColorForToolbarBackgroundInNonNativePage(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.share.ShareDelegateImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.share.BraveShareDelegateImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
# Rules for inner class constructor match
|
|
-keepattributes InnerClasses, EnclosingMethod
|
|
-keep class org.chromium.components.browser_ui.site_settings.ContentSettingsResources**
|
|
-keep class org.chromium.components.browser_ui.site_settings.BraveContentSettingsResources**
|
|
-keepclassmembers class org.chromium.components.browser_ui.site_settings.BraveContentSettingsResources** { *; }
|
|
-keepclassmembers class org.chromium.components.browser_ui.site_settings.ContentSettingsResources** { *; }
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.WebsitePermissionsFetcher {
|
|
*** getPermissionsType(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.SingleWebsiteSettings {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.BraveSingleWebsiteSettings {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.Website {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.BraveWebsite {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.SiteSettings {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.browser_ui.site_settings.BraveSiteSettingsPreferencesBase {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.tab_management.TabUiThemeProvider {
|
|
*** getActionButtonTintList(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tab_ui.TabUiThemeUtils {
|
|
*** getTitleTextColor(...);
|
|
*** getCardViewBackgroundColor(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.download.BraveDownloadMessageUiControllerImpl {
|
|
*** isVisibleToUser(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.download.DownloadMessageUiControllerImpl {
|
|
*** isVisibleToUser(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.BraveAutocompleteCoordinator {
|
|
*** createViewProvider(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.AutocompleteMediator {
|
|
*** mDropdownViewInfoListManager;
|
|
*** mDropdownViewInfoListBuilder;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.BraveAutocompleteMediator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.BraveAutocompleteMediatorBase {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.multiwindow.MultiInstanceManagerApi31 {
|
|
*** mInstanceId;
|
|
moveTabAction(...);
|
|
handleMenuOrKeyboardAction(...);
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.multiwindow.BraveMultiInstanceManagerApi31 {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.multiwindow.MultiWindowUtils {
|
|
*** shouldShowManageWindowsMenu(...);
|
|
*** isOpenInOtherWindowSupported(...);
|
|
*** isMoveToOtherWindowSupported(...);
|
|
*** canEnterMultiWindowMode(...);
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.multiwindow.BraveMultiWindowUtils {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.notifications.permissions.NotificationPermissionRationaleDialogController {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.notifications.permissions.BraveNotificationPermissionRationaleDialogController {
|
|
public <init>(...);
|
|
}
|
|
|
|
|
|
-keep class org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator {
|
|
*** onItemSelected(...);
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.contextmenu.BraveChromeContextMenuPopulator {
|
|
public <init>(...);
|
|
}
|
|
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.LocationBarCoordinator {
|
|
*** mLocationBarMediator;
|
|
*** mUrlBar;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.BraveLocationBarCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.LocationBarLayout {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.BraveLocationBarLayout {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.LocationBarMediator {
|
|
*** mWindowAndroid;
|
|
*** mLocationBarLayout;
|
|
*** mIsUrlFocusChangeInProgress;
|
|
*** mUrlHasFocus;
|
|
*** mIsTablet;
|
|
*** mNativeInitialized;
|
|
*** mIsLocationBarFocusedFromNtpScroll;
|
|
*** mContext;
|
|
*** mBrandedColorScheme;
|
|
*** mTemplateUrlServiceSupplier;
|
|
<init>(...);
|
|
*** updateButtonVisibility(...);
|
|
*** onPrimaryColorChanged(...);
|
|
*** shouldShowDeleteButton(...);
|
|
*** onAssistantVoiceSearchServiceChanged(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.BraveLocationBarMediator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.DropdownItemViewInfoListBuilder {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.BraveDropdownItemViewInfoListBuilder {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.DropdownItemViewInfoListManager {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.BraveDropdownItemViewInfoListManager {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ui.default_browser_promo.DefaultBrowserPromoUtils {
|
|
*** prepareLaunchPromoIfNeeded(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.variations.firstrun.VariationsSeedFetcher {
|
|
*** sLock;
|
|
*** DEFAULT_VARIATIONS_SERVER_URL;
|
|
*** DEFAULT_FAST_VARIATIONS_SERVER_URL;
|
|
*** get(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.partnercustomizations.CustomizationProviderDelegateUpstreamImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.partnercustomizations.BraveCustomizationProviderDelegateImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.share.send_tab_to_self.ManageAccountDevicesLinkView {
|
|
public <init>(...);
|
|
*** getSharingAccountInfo(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.share.send_tab_to_self.BraveManageAccountDevicesLinkView {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ChromeApplicationImpl
|
|
|
|
-keep class org.chromium.chrome.browser.BraveApplicationImplBase
|
|
|
|
-keep class org.chromium.chrome.browser.dom_distiller.ReaderModeManager {
|
|
*** mTab;
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.dom_distiller.BraveReaderModeManager {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.crash.ChromePureJavaExceptionReporter {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.crash.BravePureJavaExceptionReporter {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.ReturnToChromeUtil {
|
|
*** shouldShowNtpAsHomeSurfaceAtStartup(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.IntentHandler {
|
|
public <init>(...);
|
|
*** getUrlForCustomTab(...);
|
|
*** getUrlForWebapp(...);
|
|
*** isJavascriptSchemeOrInvalidUrl(...);
|
|
*** extractUrlFromIntent(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.BraveIntentHandler {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.AppHooks {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.BraveAppHooks {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.cached_flags.CachedFlag {
|
|
*** mDefaultValue;
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.cached_flags.BraveCachedFlag {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.logo.LogoMediator {
|
|
<init>(...);
|
|
*** mLogoModel;
|
|
*** mShouldShowLogo;
|
|
*** updateVisibility(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.logo.BraveLogoMediator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.document.ChromeLauncherActivity {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.document.BraveLauncherActivity {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.permissions.PermissionDialogDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.permissions.BravePermissionDialogDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tracing.settings.DeveloperSettings {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.settings.BravePreferenceFragment {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.notifications.StandardNotificationBuilder {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.notifications.BraveNotificationBuilder {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabbed_mode.TabbedRootUiCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabbed_mode.BraveTabbedRootUiCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.incognito.reauth.TabSwitcherIncognitoReauthCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.incognito.reauth.FullScreenIncognitoReauthCoordinator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.firstrun.BraveFreIntentCreator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.firstrun.FreIntentCreator {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.feedback.BraveHelpAndFeedbackLauncherImpl {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.feedback.HelpAndFeedbackLauncherImpl {
|
|
private <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.external_intents.ExternalNavigationHandler {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.externalnav.BraveExternalNavigationHandler {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabmodel.TabGroupModelFilterImpl {
|
|
*** mIsResetting;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabmodel.BraveTabGroupModelFilter {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.identity_disc.IdentityDiscController {
|
|
public <init>(...);
|
|
*** calculateButtonData(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.identity_disc.BraveIdentityDiscController {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BookmarkUiPrefs {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.bookmarks.BraveBookmarkUiPrefs {
|
|
<init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.customtabs.features.partialcustomtab.PartialCustomTabBottomSheetStrategy {
|
|
public <init>(...);
|
|
*** mStopShowingSpinner;
|
|
*** mTab;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.customtabs.features.partialcustomtab.BravePartialCustomTabBottomSheetStrategy {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.compositor.layouts.ToolbarSwipeLayout {
|
|
public <init>(...);
|
|
*** mMoveToolbar;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.compositor.layouts.BraveToolbarSwipeLayout {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.embedder_support.view.ContentView {
|
|
protected <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.embedder_support.view.BraveContentView {
|
|
protected <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.signin.SystemAccountManagerDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.components.signin.BraveSystemAccountManagerDelegate {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.AutocompleteEditText {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.BraveAutocompleteEditText {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.editurl.EditUrlSuggestionProcessor {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.editurl.BraveEditUrlSuggestionProcessor {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.suggestions.editurl.BraveEditUrlSuggestionProcessorBase
|
|
|
|
-keep class org.chromium.chrome.browser.password_manager.settings.ExportFlow {
|
|
public <init>(...);
|
|
*** runSharePasswordsIntent(...);
|
|
*** runCreateFileOnDiskIntent(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.password_manager.settings.BraveExportFlow {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.suggestions.tile.MostVisitedTilesLayout
|
|
|
|
-keep class org.chromium.chrome.browser.suggestions.tile.BraveMostVisitedTilesLayoutBase
|
|
|
|
-keep class org.chromium.chrome.browser.hub.HubManagerImpl {
|
|
*** ensureHubCoordinatorIsInitialized(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ui.system.StatusBarColorController {
|
|
public <init>(...);
|
|
*** mBackgroundColorForNtp;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.ui.system.BraveStatusBarColorController {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.omnibox.styles.OmniboxResourceProvider {
|
|
*** getToolbarSidePaddingForNtp(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.notifications.NotificationPlatformBridge {
|
|
*** dispatchNotificationEvent(...);
|
|
*** prepareNotificationBuilder(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.tab_management.BraveTabSwitcherPaneBase
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.tab_management.TabSwitcherPane
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.tab_management.IncognitoTabSwitcherPane {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tasks.tab_management.BraveIncognitoTabSwitcherPane {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabbed_mode.TabbedNavigationBarColorController {
|
|
*** mContext;
|
|
*** mTabModelSelector;
|
|
*** mActiveTab;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.tabbed_mode.BraveTabbedNavigationBarColorControllerBase
|
|
|
|
-keep class org.chromium.chrome.browser.settings.SettingsIntentUtil {
|
|
*** createIntent(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.media.ui.ChromeMediaNotificationControllerDelegate {
|
|
*** getContext(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.media.ui.MediaSessionTabHelper {
|
|
*** mTab;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.multiwindow.InstanceInfo
|
|
|
|
-keep class org.chromium.chrome.browser.customtabs.BaseCustomTabActivity {
|
|
*** mBaseCustomTabRootUiCoordinator;
|
|
*** mIntentDataProvider;
|
|
*** mToolbarCoordinator;
|
|
*** mTabController;
|
|
*** mMinimizationManagerHolder;
|
|
*** mCustomTabFeatureOverridesManager;
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.media.FullscreenVideoPictureInPictureController {
|
|
*** mDismissPending;
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.media.BraveFullscreenVideoPictureInPictureController
|
|
|
|
-keep class org.chromium.chrome.browser.fullscreen.FullscreenHtmlApiHandlerBase
|
|
|
|
-keep class org.chromium.chrome.browser.fullscreen.BraveFullscreenHtmlApiHandlerBase
|
|
|
|
-keep class org.chromium.chrome.browser.fullscreen.FullscreenHtmlApiHandlerCompat {
|
|
public <init>(...);
|
|
}
|
|
-keep class org.chromium.chrome.browser.fullscreen.BraveFullscreenHtmlApiHandlerCompat {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.fullscreen.FullscreenHtmlApiHandlerLegacy {
|
|
public <init>(...);
|
|
}
|
|
-keep class org.chromium.chrome.browser.fullscreen.BraveFullscreenHtmlApiHandlerLegacy {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.ToolbarPositionController {
|
|
*** calculateStateTransition(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.toolbar.BraveToolbarPositionController {
|
|
*** calculateStateTransition(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider {
|
|
*** setWidgetEnabled(...);
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider$QuickActionSearchWidgetProviderDino {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider$QuickActionSearchWidgetProviderSearch {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.quickactionsearchwidget.BraveQuickActionSearchWidgetProvider {
|
|
public <init>(...);
|
|
}
|
|
|
|
-keep class org.chromium.chrome.browser.suggestions.tile.TilesLinearLayout { *; }
|