Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / ash / chrome_new_window_delegate.h
blobf3573131a1d4d7d1d687d175e7ae8edb5b8a95e2
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"
12 class Browser;
14 class ChromeNewWindowDelegate : public ash::NewWindowDelegate {
15 public:
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;
26 private:
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_