| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_APPS_METRO_HANDLER_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_APPS_METRO_HANDLER_WIN_H_ | 6 #define CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_ |
| 7 | 7 |
| 8 #include "ui/gfx/native_widget_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
| 9 | 9 |
| 10 namespace chrome { | |
| 11 | |
| 12 // Check if there are apps running and if not, return true. Otherwise, Show a | 10 // Check if there are apps running and if not, return true. Otherwise, Show a |
| 13 // modal dialog on |parent| asking whether the user is OK with their packaged | 11 // modal dialog on |parent| asking whether the user is OK with their packaged |
| 14 // apps closing, in order to relaunch to metro mode. Returns true if the user | 12 // apps closing, in order to relaunch to metro mode. Returns true if the user |
| 15 // clicks OK. | 13 // clicks OK. |
| 16 bool VerifySwitchToMetroForApps(gfx::NativeWindow parent); | 14 bool VerifySwitchToMetroForApps(gfx::NativeWindow parent); |
| 17 | 15 |
| 18 } // namespace chrome | 16 #endif // CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_ |
| 19 | |
| 20 #endif // CHROME_BROWSER_UI_EXTENSIONS_APPS_METRO_HANDLER_WIN_H_ | |
| OLD | NEW |