Index: chrome/browser/ui/browser_commands.h |
diff --git a/chrome/browser/ui/browser_commands.h b/chrome/browser/ui/browser_commands.h |
index 9976833c9617a040e87f505bdd46a06644983796..022e06c966e18a84b009f266143defeeb12e6308 100644 |
--- a/chrome/browser/ui/browser_commands.h |
+++ b/chrome/browser/ui/browser_commands.h |
@@ -58,6 +58,11 @@ void OpenWindowWithRestoredTabs(Profile* profile, |
void OpenURLOffTheRecord(Profile* profile, const GURL& url, |
chrome::HostDesktopType desktop_type); |
+// On Windows with Ash, checks whether Chrome is running in Metro mode and |
+// returns HOST_DESKTOP_TYPE_ASH, to ensure all browsers are created in Metro |
+// mode. Otherwise returns |desktop_type|. |
+HostDesktopType GetVerifiedHostDesktopForBrowser(HostDesktopType desktop_type); |
+ |
bool CanGoBack(const Browser* browser); |
void GoBack(Browser* browser, WindowOpenDisposition disposition); |
bool CanGoForward(const Browser* browser); |