Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: ash/common/new_window_delegate.h

Issue 2434463004: mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. (Closed)
Patch Set: Rebase to ToT Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/common/new_window_client_proxy.cc ('k') | ash/common/shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef ASH_COMMON_NEW_WINDOW_DELEGATE_H_
6 #define ASH_COMMON_NEW_WINDOW_DELEGATE_H_
7
8 namespace ash {
9
10 // A delegate class to create or open windows that are not a part of
11 // ash.
12 class NewWindowDelegate {
13 public:
14 virtual ~NewWindowDelegate() {}
15
16 // Invoked when the user uses Ctrl+T to open a new tab.
17 virtual void NewTab() = 0;
18
19 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window.
20 virtual void NewWindow(bool incognito) = 0;
21
22 // Invoked when an accelerator is used to open the file manager.
23 virtual void OpenFileManager() = 0;
24
25 // Invoked when the user opens Crosh.
26 virtual void OpenCrosh() = 0;
27
28 // Invoked when an accelerator is used to open help center.
29 virtual void OpenGetHelp() = 0;
30
31 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab.
32 virtual void RestoreTab() = 0;
33
34 // Shows the keyboard shortcut overlay.
35 virtual void ShowKeyboardOverlay() = 0;
36
37 // Shows the task manager window.
38 virtual void ShowTaskManager() = 0;
39
40 // Opens the feedback page for "Report Issue".
41 virtual void OpenFeedbackPage() = 0;
42 };
43
44 } // namespace ash
45
46 #endif // ASH_COMMON_NEW_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/new_window_client_proxy.cc ('k') | ash/common/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698