| Index: chrome/browser/ui/ash/chrome_shell_delegate.h
|
| diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.h b/chrome/browser/ui/ash/chrome_shell_delegate.h
|
| index ef8ea0f7d440e2897523c8d8d27e40cd4a507035..70b75e4a788acc1e61b51f57b3d18586440b7b37 100644
|
| --- a/chrome/browser/ui/ash/chrome_shell_delegate.h
|
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate.h
|
| @@ -108,6 +108,11 @@ class ChromeShellDelegate : public ash::ShellDelegate,
|
| // for a browser or create one for default profile and returns it.
|
| Browser* GetTargetBrowser();
|
|
|
| + // This returns the active ash window if any. Unlike the method above, it
|
| + // does not create a window if one isn't available, instead it returns NULL
|
| + // in that case.
|
| + Browser* GetTargetBrowserIfAvailable();
|
| +
|
| static ChromeShellDelegate* instance_;
|
|
|
| content::NotificationRegistrar registrar_;
|
|
|