| 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 ASH_NEW_WINDOW_DELEGATE_H_ | 5 #ifndef ASH_COMMON_NEW_WINDOW_DELEGATE_H_ |
| 6 #define ASH_NEW_WINDOW_DELEGATE_H_ | 6 #define ASH_COMMON_NEW_WINDOW_DELEGATE_H_ |
| 7 | 7 |
| 8 namespace ash { | 8 namespace ash { |
| 9 | 9 |
| 10 // A delegate class to create or open windows that are not a part of | 10 // A delegate class to create or open windows that are not a part of |
| 11 // ash. | 11 // ash. |
| 12 class NewWindowDelegate { | 12 class NewWindowDelegate { |
| 13 public: | 13 public: |
| 14 virtual ~NewWindowDelegate() {} | 14 virtual ~NewWindowDelegate() {} |
| 15 | 15 |
| 16 // Invoked when the user uses Ctrl+T to open a new tab. | 16 // Invoked when the user uses Ctrl+T to open a new tab. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 // Shows the task manager window. | 37 // Shows the task manager window. |
| 38 virtual void ShowTaskManager() = 0; | 38 virtual void ShowTaskManager() = 0; |
| 39 | 39 |
| 40 // Opens the feedback page for "Report Issue". | 40 // Opens the feedback page for "Report Issue". |
| 41 virtual void OpenFeedbackPage() = 0; | 41 virtual void OpenFeedbackPage() = 0; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace ash | 44 } // namespace ash |
| 45 | 45 |
| 46 #endif // ASH_NEW_WINDOW_DELEGATE_H_ | 46 #endif // ASH_COMMON_NEW_WINDOW_DELEGATE_H_ |
| OLD | NEW |