ExtensionSyncService: listen for relevant changes instead of being explicitly called...
[chromium-blink-merge.git] / chrome / browser / ui / apps / apps_metro_handler_win.h
blob19a060034a10f2cde95419475cee61093518eb2b
1 // Copyright 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.
5 #ifndef CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_
6 #define CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_
8 #include "ui/gfx/native_widget_types.h"
10 // Check if there are apps running and if not, return true. Otherwise, Show a
11 // modal dialog on |parent| asking whether the user is OK with their packaged
12 // apps closing, in order to relaunch to or from Windows ASH mode. Returns true
13 // if the user clicks OK.
14 bool VerifyASHSwitchForApps(gfx::NativeWindow parent,
15 int win_restart_command_id);
17 #endif // CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_