OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_ | 5 #ifndef CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_ |
6 #define CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_ | 6 #define CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_ |
7 | 7 |
8 namespace chrome { | 8 namespace chrome { |
9 | 9 |
10 // Returns true if the given browser command is allowed in app mode. | 10 // Returns true if the given browser command is allowed in app mode. |
11 bool IsCommandAllowedInAppMode(int command_id); | 11 bool IsCommandAllowedInAppMode(int command_id); |
12 | 12 |
13 // Return true if browser process is run in kiosk or forced app mode. | 13 // Return true if browser process is run in kiosk or forced app mode. |
14 bool IsRunningInAppMode(); | 14 bool IsRunningInAppMode(); |
15 | 15 |
16 // Return true if browser process is run in forced app mode. | 16 // Return true if browser process is run in forced app mode. |
17 bool IsRunningInForcedAppMode(); | 17 bool IsRunningInForcedAppMode(); |
18 | 18 |
| 19 // Return true if browser process is run in ARC kiosk app mode. |
| 20 bool IsRunningInAndroidAppMode(); |
| 21 |
19 } // namespace chrome | 22 } // namespace chrome |
20 | 23 |
21 #endif // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_ | 24 #endif // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_ |
OLD | NEW |