summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/apps/apps_metro_handler_win.h
blob: 3d42725d321297abf891fcb63914873ff568dcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 metro mode. Returns true if the user
// clicks OK.
bool VerifySwitchToMetroForApps(gfx::NativeWindow parent);

#endif  // CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_