Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5355)

Unified Diff: chrome/common/pause_tabs_field_trial.h

Issue 2805683003: Allow for pausing background tabs on desktop via about:flags. (Closed)
Patch Set: Fix android build Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pause_tabs_field_trial.h
diff --git a/chrome/common/pause_tabs_field_trial.h b/chrome/common/pause_tabs_field_trial.h
new file mode 100644
index 0000000000000000000000000000000000000000..bbc8f69d828661c610205f916c56ddaefb92308f
--- /dev/null
+++ b/chrome/common/pause_tabs_field_trial.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_COMMON_PAUSE_TABS_FIELD_TRIAL_H_
+#define CHROME_COMMON_PAUSE_TABS_FIELD_TRIAL_H_
+
+#include "base/feature_list.h"
+
+namespace pausetabs {
+
+const base::Feature kFeature{"PauseBackgroundTabs",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
+const char kFeatureName[] = "pause-background-tabs";
+
+// Mode values.
+const char kModeParamMinimal[] = "minimal";
+const char kModeParamLow[] = "low";
+const char kModeParamMedium[] = "medium";
+const char kModeParamHigh[] = "high";
+const char kModeParamMax[] = "max";
+
+} // namespace pausetabs
+
+#endif // CHROME_COMMON_PAUSE_TABS_FIELD_TRIAL_H_
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698