summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_mode/app_mode_utils.h
blob: 65c7565ceb8f8e2b1b9cb237eda8bdfd717c3f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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();

// Return true if browser runs in force app mode and should force app to run
// in full screen.
bool ShouldForceFullscreenApp();

}  // namespace switches

#endif  // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_