Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: chrome/browser/ui/apps/apps_metro_handler_win.h

Issue 498573003: Add relaunch into ASH and desktop support for Chrome on Windows 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed newline from chrome_command_ids.h Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_APPS_APPS_METRO_HANDLER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_
6 #define CHROME_BROWSER_UI_APPS_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 // 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
11 // 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
12 // apps closing, in order to relaunch to or from Metro mode. Returns true if the 12 // apps closing, in order to relaunch to or from Windows ASH mode. Returns true
13 // user clicks OK. 13 // if the user clicks OK.
14 bool VerifyMetroSwitchForApps(gfx::NativeWindow parent, 14 bool VerifyASHSwitchForApps(gfx::NativeWindow parent,
15 int win8_restart_command_id); 15 int win_restart_command_id);
16 16
17 #endif // CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_ 17 #endif // CHROME_BROWSER_UI_APPS_APPS_METRO_HANDLER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.cc ('k') | chrome/browser/ui/apps/apps_metro_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698