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

Side by Side Diff: ash/new_window_delegate.h

Issue 48523010: [Refactor] Introduce MediaDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/media_delegate.h ('k') | ash/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_NEW_WINDOW_DELEGATE_H_
6 #define ASH_NEW_WINDOW_DELEGATE_H_ 6 #define ASH_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 NewWindowDelegate() {}
15 virtual ~NewWindowDelegate() {} 14 virtual ~NewWindowDelegate() {}
16 15
17 // 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.
18 virtual void NewTab() = 0; 17 virtual void NewTab() = 0;
19 18
20 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. 19 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window.
21 virtual void NewWindow(bool incognito) = 0; 20 virtual void NewWindow(bool incognito) = 0;
22 21
23 // Invoked when an accelerator is used to open the file manager. 22 // Invoked when an accelerator is used to open the file manager.
24 virtual void OpenFileManager() = 0; 23 virtual void OpenFileManager() = 0;
(...skipping 10 matching lines...) Expand all
35 // Shows the task manager window. 34 // Shows the task manager window.
36 virtual void ShowTaskManager() = 0; 35 virtual void ShowTaskManager() = 0;
37 36
38 // Opens the feedback page for "Report Issue". 37 // Opens the feedback page for "Report Issue".
39 virtual void OpenFeedbackPage() = 0; 38 virtual void OpenFeedbackPage() = 0;
40 }; 39 };
41 40
42 } // namespace ash 41 } // namespace ash
43 42
44 #endif // ASH_NEW_WINDOW_DELEGATE_H_ 43 #endif // ASH_NEW_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/media_delegate.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698