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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 58853004: [win8] Force browsers created with Chrome in Metro mode to be on the Ash desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: respond to comments Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 9d6151a8d5372bf69327d20ec365fc8544c32283..f9ee414fbd1edf5d26612b7a0f750f546156a409 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -322,6 +322,12 @@ void OpenURLOffTheRecord(Profile* profile,
content::PAGE_TRANSITION_LINK);
}
+#if !defined(OS_WIN)
+HostDesktopType GetVerifiedHostDesktopForBrowser(HostDesktopType desktop_type) {
+ return desktop_type;
+}
+#endif // !defined(OS_WIN)
+
bool CanGoBack(const Browser* browser) {
return browser->tab_strip_model()->GetActiveWebContents()->
GetController().CanGoBack();

Powered by Google App Engine
This is Rietveld 408576698