| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 module ash.mojom; |
| 6 |
| 7 // A delegate interface delegate to create or open windows that are not part of |
| 8 // ash. |
| 9 interface NewWindowClient { |
| 10 // Invoked when the user uses Ctrl+T to open a new tab. |
| 11 NewTab(); |
| 12 |
| 13 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. |
| 14 NewWindow(bool incognito); |
| 15 |
| 16 // Invoked when an accelerator is used to open the file manager. |
| 17 OpenFileManager(); |
| 18 |
| 19 // Invoked when the user opens Crosh. |
| 20 OpenCrosh(); |
| 21 |
| 22 // Invoked when an accelerator is used to open help center. |
| 23 OpenGetHelp(); |
| 24 |
| 25 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. |
| 26 RestoreTab(); |
| 27 |
| 28 // Shows the keyboard shortcut overlay. |
| 29 ShowKeyboardOverlay(); |
| 30 |
| 31 // Shows the task manager window. |
| 32 ShowTaskManager(); |
| 33 |
| 34 // Opens the feedback page for "Report Issue". |
| 35 OpenFeedbackPage(); |
| 36 }; |
| OLD | NEW |