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

Unified Diff: chrome/browser/ui/ash/ash_init.cc

Issue 348513002: On Windows ASH ensure that we get the display created for the root window serving ASH. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/ash_init.cc
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc
index 78e617b9c0ad23c98f3f79c145c76260ff6e4473..5136feeaa59c45e421892afabc7a590327975e0f 100644
--- a/chrome/browser/ui/ash/ash_init.cc
+++ b/chrome/browser/ui/ash/ash_init.cc
@@ -105,4 +105,10 @@ void CloseAsh() {
ash::Shell::DeleteInstance();
}
+#if defined(OS_WIN)
+bool IsAshProcess() {
+ return CommandLine::ForCurrentProcess()->HasSwitch(switches::kViewerConnect);
+}
+#endif
+
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698