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

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

Issue 12389083: cros: Add app mode restrictions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for comments in #3 Created 7 years, 9 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 | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/app_mode/app_mode_utils.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 (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 // Return true if browser process is run in kiosk or forces app mode. 10 // Returns true if the given browser command is allowed in app mode.
11 bool IsCommandAllowedInAppMode(int command_id);
12
13 // Return true if browser process is run in kiosk or forced app mode.
11 bool IsRunningInAppMode(); 14 bool IsRunningInAppMode();
12 15
16 // Return true if browser process is run in forced app mode.
17 bool IsRunningInForcedAppMode();
18
13 } // namespace switches 19 } // namespace switches
14 20
15 #endif // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_ 21 #endif // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/app_mode/app_mode_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698