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 virtual ~ChromeNewWindowDelegate();
19 // Overridden from ash::NewWindowDelegate:
20 virtual void NewTab() OVERRIDE
;
21 virtual void NewWindow(bool incognito
) OVERRIDE
;
22 virtual void RestoreTab() OVERRIDE
;
23 virtual void ShowTaskManager() OVERRIDE
;
24 virtual 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_