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

Unified Diff: chrome/browser/about_flags.cc

Issue 11038021: Implement Chrome Extension TabCapture API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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/app/generated_resources.grd ('k') | chrome/browser/extensions/api/tab_capture/tab_capture_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index b88520b16cb567be79893530d76e68f6249247f3..23dbaa4517fb474b9cbf1c8c6ba0d8565671c696 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -177,6 +177,14 @@ const Experiment::Choice kScriptBubbleChoices[] = {
switches::kScriptBubble, "1"}
};
+const Experiment::Choice kTabCaptureChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ switches::kTabCapture, "0"},
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ switches::kTabCapture, "1"}
+};
+
#if defined(OS_CHROMEOS)
const Experiment::Choice kAshBootAnimationFunction[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
@@ -735,6 +743,13 @@ const Experiment kExperiments[] = {
kOsWin | kOsMac | kOsLinux,
SINGLE_VALUE_TYPE(switches::kEnableTouchEvents)
},
+ {
+ "enable-tab-capture",
+ IDS_ENABLE_TAB_CAPTURE_NAME,
+ IDS_ENABLE_TAB_CAPTURE_DESCRIPTION,
+ kOsMac | kOsLinux,
+ MULTI_VALUE_TYPE(kTabCaptureChoices)
+ },
#if defined(OS_CHROMEOS)
{
"enable-background-loader",
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/api/tab_capture/tab_capture_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698