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

Side by Side Diff: chrome/browser/app_mode/app_mode_utils.h

Issue 2498613003: Add ARC++ kiosk menu items and ability to start kiosk session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 1 month 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
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698