From 7e69f2820196c6663e2af02924b68e51c4072039 Mon Sep 17 00:00:00 2001 From: gyzhou Date: Thu, 18 Feb 2016 13:10:35 -0800 Subject: Add a flag for tab desktop capture and enable tab capture for desktop media picker. BUG=557222 Review URL: https://codereview.chromium.org/1688973003 Cr-Commit-Position: refs/heads/master@{#376257} --- extensions/common/switches.cc | 3 +++ extensions/common/switches.h | 1 + 2 files changed, 4 insertions(+) (limited to 'extensions/common') diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc index 41e1d27..77e5ad1 100644 --- a/extensions/common/switches.cc +++ b/extensions/common/switches.cc @@ -54,6 +54,9 @@ const char kEnableMojoSerialService[] = "enable-mojo-serial-service"; // Enables extensions to hide bookmarks UI elements. const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui"; +// Enables tab for desktop sharing. +const char kEnableTabForDesktopShare[] = "enable-tab-for-desktop-share"; + // Allows the ErrorConsole to collect runtime and manifest errors, and display // them in the chrome:extensions page. const char kErrorConsole[] = "error-console"; diff --git a/extensions/common/switches.h b/extensions/common/switches.h index 7c891d8..af2a0f4 100644 --- a/extensions/common/switches.h +++ b/extensions/common/switches.h @@ -23,6 +23,7 @@ extern const char kEnableExtensionActionRedesign[]; extern const char kEnableMojoSerialService[]; extern const char kEnableOverrideBookmarksUI[]; extern const char kEnableBLEAdvertising[]; +extern const char kEnableTabForDesktopShare[]; extern const char kErrorConsole[]; extern const char kExtensionActionRedesign[]; extern const char kExtensionProcess[]; -- cgit v1.1