| OLD | NEW |
| 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. | 11 // A boolean that tracks whether apps are allowed to enter fullscreen mode. |
| 12 extern const char kAppFullscreenAllowed[] = | 12 extern const char kAppFullscreenAllowed[] = |
| 13 "apps.fullscreen.allowed"; | 13 "apps.fullscreen.allowed"; |
| 14 | 14 |
| 15 // If set, the user requested to launch the app with this extension id while | |
| 16 // in Metro mode, and then relaunched to Desktop mode to start it. | |
| 17 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; | |
| 18 | |
| 19 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers | |
| 20 // launch of the specified app when restarting Chrome in desktop mode. | |
| 21 const char kAppLaunchForMetroRestartProfile[] = | |
| 22 "apps.app_launch_for_metro_restart_profile"; | |
| 23 | |
| 24 } // namespace prefs | 15 } // namespace prefs |
| 25 | 16 |
| 26 } // namespace apps | 17 } // namespace apps |
| OLD | NEW |