forked from bromite/bromite
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #568 from uazo/next-v120
Patches for v120 stable
- Loading branch information
Showing
192 changed files
with
3,756 additions
and
3,758 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
119.0.6045.200 | ||
120.0.6099.63 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
build/patches/00Add-PartialLowEndModeOnMidRangeDevices-flag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
From: uazo <[email protected]> | ||
Date: Wed, 6 Dec 2023 10:21:45 +0000 | ||
Subject: Add PartialLowEndModeOnMidRangeDevices flag | ||
|
||
adds a new flag in chrome://flags to re-enable the experiment | ||
|
||
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html | ||
--- | ||
base/features.cc | 3 +++ | ||
chrome/browser/about_flags.cc | 1 + | ||
.../Add-PartialLowEndModeOnMidRangeDevices-flag.inc | 12 ++++++++++++ | ||
3 files changed, 16 insertions(+) | ||
create mode 100644 cromite_flags/chrome/browser/about_flags_cc/Add-PartialLowEndModeOnMidRangeDevices-flag.inc | ||
|
||
diff --git a/base/features.cc b/base/features.cc | ||
--- a/base/features.cc | ||
+++ b/base/features.cc | ||
@@ -67,4 +67,7 @@ BASE_FEATURE(kCollectAndroidFrameTimelineMetrics, | ||
base::FEATURE_DISABLED_BY_DEFAULT); | ||
#endif // BUILDFLAG(IS_ANDROID) | ||
|
||
+#if BUILDFLAG(IS_ANDROID) | ||
+SET_CROMITE_FEATURE_DISABLED(kPartialLowEndModeOnMidRangeDevices); | ||
+#endif | ||
} // namespace base::features | ||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc | ||
--- a/chrome/browser/about_flags.cc | ||
+++ b/chrome/browser/about_flags.cc | ||
@@ -16,6 +16,7 @@ | ||
#include "base/base_switches.h" | ||
#include "base/command_line.h" | ||
#include "base/feature_list.h" | ||
+#include "base/features.h" | ||
#include "base/functional/bind.h" | ||
#include "base/functional/callback.h" | ||
#include "base/i18n/base_i18n_switches.h" | ||
diff --git a/cromite_flags/chrome/browser/about_flags_cc/Add-PartialLowEndModeOnMidRangeDevices-flag.inc b/cromite_flags/chrome/browser/about_flags_cc/Add-PartialLowEndModeOnMidRangeDevices-flag.inc | ||
new file mode 100644 | ||
--- /dev/null | ||
+++ b/cromite_flags/chrome/browser/about_flags_cc/Add-PartialLowEndModeOnMidRangeDevices-flag.inc | ||
@@ -0,0 +1,12 @@ | ||
+#if BUILDFLAG(IS_ANDROID) | ||
+ | ||
+#ifdef FLAG_SECTION | ||
+ | ||
+ {"partial-lowendmode-on-midrange-devices", | ||
+ "Partial Low End Mode On Mid Range Devices", | ||
+ "Enables the LowEndDeviceMode experiment in devices with 4-6 gb of ram.", | ||
+ kOsAndroid, FEATURE_VALUE_TYPE(base::features::kPartialLowEndModeOnMidRangeDevices)}, | ||
+ | ||
+#endif | ||
+ | ||
+#endif | ||
-- | ||
2.25.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.