73 lines
3.1 KiB
Diff
73 lines
3.1 KiB
Diff
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Mon, 2 Dec 2019 21:15:32 +0100
|
|
Subject: Revert "flags: remove disable-pull-to-refresh-effect"
|
|
|
|
This reverts commit 4e598f38a0e6dd3dbede009c6a99b2a520a94e1f.
|
|
|
|
Original License: BSD-3-Clause - https://spdx.org/licenses/BSD-3-Clause.html
|
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
|
---
|
|
chrome/browser/about_flags.cc | 4 ++++
|
|
chrome/browser/flag-metadata.json | 4 ++++
|
|
chrome/browser/flag_descriptions.cc | 4 ++++
|
|
chrome/browser/flag_descriptions.h | 3 +++
|
|
4 files changed, 15 insertions(+)
|
|
|
|
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
|
|
@@ -4940,6 +4940,10 @@ const FeatureEntry kFeatureEntries[] = {
|
|
kOsWin | kOsLinux | kOsAndroid | kOsCrOS,
|
|
FEATURE_VALUE_TYPE(features::kVulkan)},
|
|
#if BUILDFLAG(IS_ANDROID)
|
|
+ {switches::kDisablePullToRefreshEffect,
|
|
+ flag_descriptions::kDisablePullToRefreshEffectName,
|
|
+ flag_descriptions::kDisablePullToRefreshEffectDescription, kOsAndroid,
|
|
+ SINGLE_DISABLE_VALUE_TYPE(switches::kDisablePullToRefreshEffect)},
|
|
{"translate-message-ui", flag_descriptions::kTranslateMessageUIName,
|
|
flag_descriptions::kTranslateMessageUIDescription, kOsAndroid,
|
|
FEATURE_WITH_PARAMS_VALUE_TYPE(translate::kTranslateMessageUI,
|
|
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
|
--- a/chrome/browser/flag-metadata.json
|
|
+++ b/chrome/browser/flag-metadata.json
|
|
@@ -1807,6 +1807,10 @@
|
|
"yangsharon@google.com", "alexmos@google.com", "creis@google.com" ],
|
|
"expiry_milestone": 122
|
|
},
|
|
+ {
|
|
+ "name": "disable-pull-to-refresh-effect",
|
|
+ "expiry_milestone": -1
|
|
+ },
|
|
{
|
|
"name": "disable-quick-answers-v2-translation",
|
|
"owners": [ "croissant-eng" ],
|
|
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
|
--- a/chrome/browser/flag_descriptions.cc
|
|
+++ b/chrome/browser/flag_descriptions.cc
|
|
@@ -4302,6 +4302,10 @@ const char kReadLaterDescription[] =
|
|
"Allow users to save tabs for later. Enables a new button and menu for "
|
|
"accessing tabs saved for later.";
|
|
|
|
+const char kDisablePullToRefreshEffectName[] = "The pull-to-refresh effect";
|
|
+const char kDisablePullToRefreshEffectDescription[] =
|
|
+ "Page reloads triggered by vertically overscrolling content.";
|
|
+
|
|
const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
|
|
const char kReaderModeHeuristicsDescription[] =
|
|
"Determines what pages the Reader Mode infobar is shown on.";
|
|
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
|
--- a/chrome/browser/flag_descriptions.h
|
|
+++ b/chrome/browser/flag_descriptions.h
|
|
@@ -2541,6 +2541,9 @@ extern const char kQueryTilesSwapTrendingDescription[];
|
|
extern const char kReadAloudName[];
|
|
extern const char kReadAloudDescription[];
|
|
|
|
+extern const char kDisablePullToRefreshEffectName[];
|
|
+extern const char kDisablePullToRefreshEffectDescription[];
|
|
+
|
|
extern const char kReaderModeHeuristicsName[];
|
|
extern const char kReaderModeHeuristicsDescription[];
|
|
extern const char kReaderModeHeuristicsMarkup[];
|
|
--
|
|
2.25.1
|