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

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

Issue 11146023: Work on separate browser contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another busted command line flag Created 8 years, 2 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
« no previous file with comments | « chrome/browser/ui/ash/ash_init.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/ash_util.cc
diff --git a/chrome/browser/ui/ash/ash_util.cc b/chrome/browser/ui/ash/ash_util.cc
index 09d9373e9aad08a1d51f7089a37a6579f5f268ea..add9678cf9f6b55f2d58ba7ee061e014562cf387 100644
--- a/chrome/browser/ui/ash/ash_util.cc
+++ b/chrome/browser/ui/ash/ash_util.cc
@@ -6,6 +6,7 @@
#include "ash/shell.h"
#include "chrome/browser/ui/ash/ash_init.h"
+#include "chrome/browser/ui/host_desktop.h"
#include "ui/aura/root_window.h"
namespace chrome {
@@ -36,7 +37,7 @@ bool IsNativeWindowInAsh(gfx::NativeWindow native_window) {
}
void ToggleAshDesktop() {
- // TODO(scottmg): Probably need to force Ash here. http://crbug.com/133312
+ ScopedForceDesktopType force(chrome::HOST_DESKTOP_TYPE_ASH);
if (!ash::Shell::HasInstance())
OpenAsh();
else
« no previous file with comments | « chrome/browser/ui/ash/ash_init.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698