1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_
8 #include "ash/new_window_delegate.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h"
14 class ChromeNewWindowDelegate
: public ash::NewWindowDelegate
{
16 ChromeNewWindowDelegate();
17 ~ChromeNewWindowDelegate() override
;
19 // Overridden from ash::NewWindowDelegate:
20 void NewTab() override
;
21 void NewWindow(bool incognito
) override
;
22 void RestoreTab() override
;
23 void ShowTaskManager() override
;
24 void OpenFeedbackPage() override
;
27 class TabRestoreHelper
;
29 scoped_ptr
<TabRestoreHelper
> tab_restore_helper_
;
31 DISALLOW_COPY_AND_ASSIGN(ChromeNewWindowDelegate
);
34 #endif // CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_