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

Unified 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, 2 months 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/new_window_delegate.h
diff --git a/ash/common/new_window_delegate.h b/ash/common/new_window_delegate.h
deleted file mode 100644
index 3a8b764690ea652d7ceb602e9828058c7cd782e9..0000000000000000000000000000000000000000
--- a/ash/common/new_window_delegate.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_COMMON_NEW_WINDOW_DELEGATE_H_
-#define ASH_COMMON_NEW_WINDOW_DELEGATE_H_
-
-namespace ash {
-
-// A delegate class to create or open windows that are not a part of
-// ash.
-class NewWindowDelegate {
- public:
- virtual ~NewWindowDelegate() {}
-
- // Invoked when the user uses Ctrl+T to open a new tab.
- virtual void NewTab() = 0;
-
- // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window.
- virtual void NewWindow(bool incognito) = 0;
-
- // Invoked when an accelerator is used to open the file manager.
- virtual void OpenFileManager() = 0;
-
- // Invoked when the user opens Crosh.
- virtual void OpenCrosh() = 0;
-
- // Invoked when an accelerator is used to open help center.
- virtual void OpenGetHelp() = 0;
-
- // Invoked when the user uses Shift+Ctrl+T to restore the closed tab.
- virtual void RestoreTab() = 0;
-
- // Shows the keyboard shortcut overlay.
- virtual void ShowKeyboardOverlay() = 0;
-
- // Shows the task manager window.
- virtual void ShowTaskManager() = 0;
-
- // Opens the feedback page for "Report Issue".
- virtual void OpenFeedbackPage() = 0;
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_NEW_WINDOW_DELEGATE_H_
« 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