summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/apps/apps_metro_handler_win.h
blob: 19a060034a10f2cde95419475cee61093518eb2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 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_UI_APPS_APPS_METRO_HANDLER_WIN_H_
#define CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_

#include "ui/gfx/native_widget_types.h"

// Check if there are apps running and if not, return true. Otherwise, Show a
// modal dialog on |parent| asking whether the user is OK with their packaged
// apps closing, in order to relaunch to or from Windows ASH mode. Returns true
// if the user clicks OK.
bool VerifyASHSwitchForApps(gfx::NativeWindow parent,
                            int win_restart_command_id);

#endif  // CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_