| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/new_window_delegate.h" | 8 #include "ash/new_window_delegate.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 | 11 |
| 12 class Browser; | 12 class Browser; |
| 13 | 13 |
| 14 class ChromeNewWindowDelegate : public ash::NewWindowDelegate { | 14 class ChromeNewWindowDelegate : public ash::NewWindowDelegate { |
| 15 public: | 15 public: |
| 16 ChromeNewWindowDelegate(); | 16 ChromeNewWindowDelegate(); |
| 17 virtual ~ChromeNewWindowDelegate(); | 17 virtual ~ChromeNewWindowDelegate(); |
| 18 | 18 |
| 19 // Overridden from ash::NewWindowDelegate: | 19 // Overridden from ash::NewWindowDelegate: |
| 20 virtual void NewTab() OVERRIDE; | 20 virtual void NewTab() override; |
| 21 virtual void NewWindow(bool incognito) OVERRIDE; | 21 virtual void NewWindow(bool incognito) override; |
| 22 virtual void RestoreTab() OVERRIDE; | 22 virtual void RestoreTab() override; |
| 23 virtual void ShowTaskManager() OVERRIDE; | 23 virtual void ShowTaskManager() override; |
| 24 virtual void OpenFeedbackPage() OVERRIDE; | 24 virtual void OpenFeedbackPage() override; |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 class TabRestoreHelper; | 27 class TabRestoreHelper; |
| 28 | 28 |
| 29 scoped_ptr<TabRestoreHelper> tab_restore_helper_; | 29 scoped_ptr<TabRestoreHelper> tab_restore_helper_; |
| 30 | 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(ChromeNewWindowDelegate); | 31 DISALLOW_COPY_AND_ASSIGN(ChromeNewWindowDelegate); |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 #endif // CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_ | 34 #endif // CHROME_BROWSER_UI_ASH_CHROME_NEW_WINDOW_DELEGATE_H_ |
| OLD | NEW |