| 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 021f62b8c38feccddc81a98f48967663c40e1ed1..488cc4c3f8cef178575b9d5369410285ff35d061 100644
|
| --- a/chrome/browser/ui/ash/ash_util.cc
|
| +++ b/chrome/browser/ui/ash/ash_util.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/ash/ash_util.h"
|
|
|
| #include "ash/shell.h"
|
| +#include "chrome/browser/ui/ash/ash_init.h"
|
| #include "ui/aura/root_window.h"
|
|
|
| namespace chrome {
|
| @@ -34,4 +35,11 @@ bool IsNativeWindowInAsh(gfx::NativeWindow native_window) {
|
| return IsNativeViewInAsh(native_window);
|
| }
|
|
|
| +void ToggleAshDesktop() {
|
| + if (!ash::Shell::HasInstance())
|
| + OpenAsh();
|
| + else
|
| + CloseAsh();
|
| +}
|
| +
|
| } // namespace chrome
|
|
|