Home | History | Annotate | Download | only in app_mode
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_
      6 #define CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_
      7 
      8 namespace chrome {
      9 
     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.
     14 bool IsRunningInAppMode();
     15 
     16 // Return true if browser process is run in forced app mode.
     17 bool IsRunningInForcedAppMode();
     18 
     19 }  // namespace chrome
     20 
     21 #endif  // CHROME_BROWSER_APP_MODE_APP_MODE_UTILS_H_
     22