Skip to content

Commit

Permalink
Merge pull request #12133 from brave/android_revert_context_menu
Browse files Browse the repository at this point in the history
Revert "[Android] Made context menu option 'Open in new tab' visible"
  • Loading branch information
samartnik authored Feb 3, 2022
2 parents 77e7874 + d27bb48 commit e6952ec
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 89 deletions.
4 changes: 0 additions & 4 deletions android/java/apk_for_test.flags
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,3 @@
-keep class org.chromium.chrome.browser.ui.default_browser_promo.DefaultBrowserPromoUtils {
*** prepareLaunchPromoIfNeeded(...);
}

-keep class org.chromium.chrome.browser.flags.CachedFeatureFlags {
*** getConsistentBooleanValue(...);
}
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ public void testClassesExist() throws Exception {
Assert.assertTrue(classExists("org/chromium/chrome/browser/autofill/AutofillPopupBridge"));
Assert.assertTrue(
classExists("org/chromium/chrome/browser/autofill/BraveAutofillPopupBridge"));
Assert.assertTrue(classExists("org/chromium/chrome/browser/flags/CachedFeatureFlags"));
}

@Test
Expand Down Expand Up @@ -365,8 +364,6 @@ public void testMethodsExist() throws Exception {
"getActionButtonTintList", false, null));
Assert.assertTrue(methodExists("org/chromium/chrome/browser/ntp/NewTabPage",
"updateSearchProviderHasLogo", false, null));
Assert.assertTrue(methodExists("org/chromium/chrome/browser/flags/CachedFeatureFlags",
"getConsistentBooleanValue", false, null));
}

@Test
Expand Down

This file was deleted.

10 changes: 0 additions & 10 deletions browser/flags/BUILD.gn

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion build/android/bytecode/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ java_binary("java_bytecode_rewriter") {
"//brave/build/android/bytecode/java/org/brave/bytecode/BraveBookmarkUtilsClassAdapter.java",
"//brave/build/android/bytecode/java/org/brave/bytecode/BraveBottomControlsCoordinatorClassAdapter.java",
"//brave/build/android/bytecode/java/org/brave/bytecode/BraveBottomControlsMediatorClassAdapter.java",
"//brave/build/android/bytecode/java/org/brave/bytecode/BraveCachedFeatureFlagsClassAdapter.java",
"//brave/build/android/bytecode/java/org/brave/bytecode/BraveClassAdapter.java",
"//brave/build/android/bytecode/java/org/brave/bytecode/BraveClassVisitor.java",
"//brave/build/android/bytecode/java/org/brave/bytecode/BraveCommandLineInitUtilClassAdapter.java",
Expand Down
2 changes: 0 additions & 2 deletions build/android/bytecode/bytecode_rewriter.gni
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ import("//build/config/python.gni")
brave_bytecode_jars = [
"obj/brave/android/features/tab_ui/java.javac.jar",
"obj/brave/android/java/org/chromium/chrome/browser/search_engines/settings/java.javac.jar",
"obj/brave/browser/flags/java.javac.jar",
"obj/brave/browser/notifications/java.javac.jar",
"obj/brave/browser/ui/android/omnibox/java.javac.jar",
"obj/brave/browser/ui/android/theme/java.javac.jar",
"obj/brave/components/browser_ui/site_settings/android/java.javac.jar",
"obj/chrome/android/base_module_java.javac.jar",
"obj/chrome/android/chrome_java.javac.jar",
"obj/chrome/android/features/tab_ui/java.javac.jar",
"obj/chrome/browser/flags/java.javac.jar",
"obj/chrome/browser/notifications/java.javac.jar",
"obj/chrome/browser/safe_browsing/android/java.javac.jar",
"obj/chrome/browser/search_engines/android/java.javac.jar",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public static ClassVisitor createAdapter(ClassVisitor chain) {
chain = new BraveBookmarkUtilsClassAdapter(chain);
chain = new BraveBottomControlsCoordinatorClassAdapter(chain);
chain = new BraveBottomControlsMediatorClassAdapter(chain);
chain = new BraveCachedFeatureFlagsClassAdapter(chain);
chain = new BraveCommandLineInitUtilClassAdapter(chain);
chain = new BraveContentSettingsResourcesClassAdapter(chain);
chain = new BraveDefaultBrowserPromoUtilsClassAdapter(chain);
Expand Down
1 change: 0 additions & 1 deletion build/android/config.gni
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ brave_android_manifest_includes = [

brave_chrome_java_deps = [
"//brave/android/java/org/chromium/chrome/browser/search_engines/settings:java",
"//brave/browser/flags:java",
"//brave/browser/notifications:brave_java",
"//brave/browser/notifications:java",
"//brave/browser/safe_browsing/android/java/src/org/chromium/chrome/browser/safe_browsing/settings:java",
Expand Down
1 change: 0 additions & 1 deletion test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,6 @@ if (is_android) {
sources = [
"//brave/android/javatests/org/chromium/chrome/browser/BytecodeTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/brave_wallet/BraveWalletUtilsTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/contextmenu/BraveContextMenuPopulatorTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/password_manager/settings/BravePasswordSettingsTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/privacy/settings/BravePrivacySettingsTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/safe_browsing/settings/BraveSafeBrowsingSettingsFragmentTest.java",
Expand Down

0 comments on commit e6952ec

Please sign in to comment.