summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_mode/app_mode_utils.h
blob: a5918148b8ef68a67c00d49672b830a742ab04b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_
#define CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_

namespace chrome {

// Returns true if the given browser command is allowed in app mode.
bool IsCommandAllowedInAppMode(int command_id);

// Return true if browser process is run in kiosk or forced app mode.
bool IsRunningInAppMode();

// Return true if browser process is run in forced app mode.
bool IsRunningInForcedAppMode();

}  // namespace chrome

#endif  // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_