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

Unified Diff: apps/prefs.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/pref_names.cc ('k') | apps/shell_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/prefs.cc
diff --git a/apps/prefs.cc b/apps/prefs.cc
index 934778398e6eadea794aadf8f0c614cf28520b05..d53be170378479b7c37b028b6fa75cc13f4b382f 100644
--- a/apps/prefs.cc
+++ b/apps/prefs.cc
@@ -38,6 +38,12 @@ void RegisterPrefs(PrefRegistrySimple* registry) {
}
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
+#if !defined(OS_MACOSX)
+ registry->RegisterBooleanPref(
+ prefs::kAppFullscreenAllowed, true,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+#endif
+
// Indicates whether app shortcuts have been created.
registry->RegisterBooleanPref(
prefs::kShortcutsHaveBeenCreated, false,
« no previous file with comments | « apps/pref_names.cc ('k') | apps/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698