| Index: chrome/browser/ui/ash/chrome_new_window_client.h
|
| diff --git a/chrome/browser/ui/ash/chrome_new_window_client.h b/chrome/browser/ui/ash/chrome_new_window_client.h
|
| index f8bcb0f59473e8565f95cf94f39643b1a1982404..0004039f9350624622c7ea74bdf09b186903c0f8 100644
|
| --- a/chrome/browser/ui/ash/chrome_new_window_client.h
|
| +++ b/chrome/browser/ui/ash/chrome_new_window_client.h
|
| @@ -11,11 +11,16 @@
|
| #include "base/macros.h"
|
| #include "mojo/public/cpp/bindings/associated_binding.h"
|
|
|
| +class Browser;
|
| +
|
| class ChromeNewWindowClient : public ash::mojom::NewWindowClient {
|
| public:
|
| ChromeNewWindowClient();
|
| ~ChromeNewWindowClient() override;
|
|
|
| + // Returns the active browser that has active browser window, if any.
|
| + static Browser* GetActiveBrowser();
|
| +
|
| // Overridden from ash::mojom::NewWindowClient:
|
| void NewTab() override;
|
| void NewWindow(bool incognito) override;
|
|
|