summaryrefslogtreecommitdiffstats
path: root/chromeos
diff options
context:
space:
mode:
authormtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-24 14:36:15 +0000
committermtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-24 14:36:15 +0000
commit50a3f5a94f36a56847da432f474361ed09193929 (patch)
tree98a88f824f4410cef01b989916bb4e7abc5bf01e /chromeos
parenta014c06d1acc1a57b5d4ad2b6ae6124d951e81a1 (diff)
downloadchromium_src-50a3f5a94f36a56847da432f474361ed09193929.zip
chromium_src-50a3f5a94f36a56847da432f474361ed09193929.tar.gz
chromium_src-50a3f5a94f36a56847da432f474361ed09193929.tar.bz2
Add flag and the menu item for the sharing feature.
This patch adds a switch, an about flag, and a context menu item for the sharing dialog in Files.app. The menu item is available only on Drive, and currently only for files. TEST=Enable the flag, check if the menu item is enabled for files on Drive. Clicking on it doesn't do anything yet. BUG=141396 R=kinaba@chromium.org, yoshiki@chromium.org Review URL: https://codereview.chromium.org/17571008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos')
-rw-r--r--chromeos/chromeos_switches.cc3
-rw-r--r--chromeos/chromeos_switches.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc
index 0faf36b..e1ce231 100644
--- a/chromeos/chromeos_switches.cc
+++ b/chromeos/chromeos_switches.cc
@@ -124,6 +124,9 @@ const char kEnterpriseEnrollmentModulusLimit[] =
// Shows the selecting checkboxes in the Files.app.
const char kFileManagerShowCheckboxes[] = "file-manager-show-checkboxes";
+// Enables the sharing feature in the Files.app.
+const char kFileManagerEnableSharing[] = "file-manager-enable-sharing";
+
// Passed to Chrome on first boot. Not passed on restart after sign out.
const char kFirstBoot[] = "first-boot";
diff --git a/chromeos/chromeos_switches.h b/chromeos/chromeos_switches.h
index a1e86e7..21e2607 100644
--- a/chromeos/chromeos_switches.h
+++ b/chromeos/chromeos_switches.h
@@ -52,6 +52,7 @@ CHROMEOS_EXPORT extern const char kEnableTouchpadThreeFingerSwipe[];
CHROMEOS_EXPORT extern const char kEnterpriseEnrollmentInitialModulus[];
CHROMEOS_EXPORT extern const char kEnterpriseEnrollmentModulusLimit[];
CHROMEOS_EXPORT extern const char kFileManagerShowCheckboxes[];
+CHROMEOS_EXPORT extern const char kFileManagerEnableSharing[];
CHROMEOS_EXPORT extern const char kFirstBoot[];
CHROMEOS_EXPORT extern const char kForceLoginManagerInTests[];
CHROMEOS_EXPORT extern const char kGuestSession[];