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

Side by Side Diff: apps/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 | « apps/pref_names.h ('k') | apps/prefs.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "apps/pref_names.h" 5 #include "apps/pref_names.h"
6 6
7 namespace apps { 7 namespace apps {
8 8
9 namespace prefs { 9 namespace prefs {
10 10
11 // A boolean that tracks whether apps are allowed to enter fullscreen mode.
12 extern const char kAppFullscreenAllowed[] =
13 "apps.fullscreen.allowed";
14
11 // A boolean that tracks whether the user has ever enabled the app launcher. 15 // A boolean that tracks whether the user has ever enabled the app launcher.
12 const char kAppLauncherHasBeenEnabled[] = 16 const char kAppLauncherHasBeenEnabled[] =
13 "apps.app_launcher.has_been_enabled"; 17 "apps.app_launcher.has_been_enabled";
14 18
15 // TODO(calamity): remove this pref since app launcher will always be 19 // TODO(calamity): remove this pref since app launcher will always be
16 // installed. 20 // installed.
17 // Local state caching knowledge of whether the app launcher is installed. 21 // Local state caching knowledge of whether the app launcher is installed.
18 const char kAppLauncherIsEnabled[] = 22 const char kAppLauncherIsEnabled[] =
19 "apps.app_launcher.should_show_apps_page"; 23 "apps.app_launcher.should_show_apps_page";
20 24
(...skipping 13 matching lines...) Expand all
34 // A boolean that indicates whether app shortcuts have been created. 38 // A boolean that indicates whether app shortcuts have been created.
35 // On a transition from false to true, shortcuts are created for all apps. 39 // On a transition from false to true, shortcuts are created for all apps.
36 const char kShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created"; 40 const char kShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created";
37 41
38 // A boolean identifying if we should show the app launcher promo or not. 42 // A boolean identifying if we should show the app launcher promo or not.
39 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; 43 const char kShowAppLauncherPromo[] = "app_launcher.show_promo";
40 44
41 } // namespace prefs 45 } // namespace prefs
42 46
43 } // namespace apps 47 } // namespace apps
OLDNEW
« no previous file with comments | « apps/pref_names.h ('k') | apps/prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698