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

Side by Side Diff: chrome/common/pref_names.cc

Issue 22986010: Add policy for fullscreen mode; disallow fullscreen in public sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser test compilation after rebase. Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 "message_center.enabled_sync_notifier_ids"; 1298 "message_center.enabled_sync_notifier_ids";
1299 1299
1300 // Dictionary pref that keeps track of per-extension settings. The keys are 1300 // Dictionary pref that keeps track of per-extension settings. The keys are
1301 // extension ids. 1301 // extension ids.
1302 const char kExtensionsPref[] = "extensions.settings"; 1302 const char kExtensionsPref[] = "extensions.settings";
1303 1303
1304 // String pref for what version chrome was last time the extension prefs were 1304 // String pref for what version chrome was last time the extension prefs were
1305 // loaded. 1305 // loaded.
1306 const char kExtensionsLastChromeVersion[] = "extensions.last_chrome_version"; 1306 const char kExtensionsLastChromeVersion[] = "extensions.last_chrome_version";
1307 1307
1308 // Boolean pref that determines whether the user can enter fullscreen mode.
1309 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop
1310 // platforms.
1311 extern const char kFullscreenAllowed[] = "fullscreen.allowed";
1312
1308 // *************** LOCAL STATE *************** 1313 // *************** LOCAL STATE ***************
1309 // These are attached to the machine/installation 1314 // These are attached to the machine/installation
1310 1315
1311 // A pref to configure networks device-wide. Its value must be a list of 1316 // A pref to configure networks device-wide. Its value must be a list of
1312 // NetworkConfigurations according to the OpenNetworkConfiguration 1317 // NetworkConfigurations according to the OpenNetworkConfiguration
1313 // specification. 1318 // specification.
1314 const char kDeviceOpenNetworkConfiguration[] = "device_onc"; 1319 const char kDeviceOpenNetworkConfiguration[] = "device_onc";
1315 1320
1316 // Directory of the last profile used. 1321 // Directory of the last profile used.
1317 const char kProfileLastUsed[] = "profile.last_used"; 1322 const char kProfileLastUsed[] = "profile.last_used";
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 // A boolean pref that enables the (private) pepper GetDeviceID() call. 2562 // A boolean pref that enables the (private) pepper GetDeviceID() call.
2558 const char kEnableDRM[] = "settings.privacy.drm_enabled"; 2563 const char kEnableDRM[] = "settings.privacy.drm_enabled";
2559 2564
2560 // A boolean per-profile pref that signals if the watchdog extension is 2565 // A boolean per-profile pref that signals if the watchdog extension is
2561 // installed and active. We need to know if the watchdog extension active for 2566 // installed and active. We need to know if the watchdog extension active for
2562 // ActivityLog initialization before the extension system is initialized. 2567 // ActivityLog initialization before the extension system is initialized.
2563 const char kWatchdogExtensionActive[] = 2568 const char kWatchdogExtensionActive[] =
2564 "profile.extensions.activity_log.watchdog_extension_active"; 2569 "profile.extensions.activity_log.watchdog_extension_active";
2565 2570
2566 } // namespace prefs 2571 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698