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

Unified Diff: ash/mus/new_window_delegate_mus.h

Issue 2192613002: Moves NewWindowDelegate to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: order Created 4 years, 5 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/mus/accelerators/accelerator_controller_delegate_mus.cc ('k') | ash/mus/new_window_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/new_window_delegate_mus.h
diff --git a/ash/mus/new_window_delegate_mus.h b/ash/mus/new_window_delegate_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..57dfb0223cefeb7520ae5cf5fb78465bac9ae736
--- /dev/null
+++ b/ash/mus/new_window_delegate_mus.h
@@ -0,0 +1,37 @@
+// Copyright 2016 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_MUS_NEW_WINDOW_DELEGATE_MUS_H_
+#define ASH_MUS_NEW_WINDOW_DELEGATE_MUS_H_
+
+#include "ash/common/new_window_delegate.h"
+#include "base/macros.h"
+
+namespace ash {
+namespace mus {
+
+class NewWindowDelegateMus : public NewWindowDelegate {
+ public:
+ NewWindowDelegateMus();
+ ~NewWindowDelegateMus() override;
+
+ // NewWindowDelegate:
+ void NewTab() override;
+ void NewWindow(bool incognito) override;
+ void OpenFileManager() override;
+ void OpenCrosh() override;
+ void OpenGetHelp() override;
+ void RestoreTab() override;
+ void ShowKeyboardOverlay() override;
+ void ShowTaskManager() override;
+ void OpenFeedbackPage() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NewWindowDelegateMus);
+};
+
+} // namespace mus
+} // namespace ash
+
+#endif // ASH_MUS_NEW_WINDOW_DELEGATE_MUS_H_
« no previous file with comments | « ash/mus/accelerators/accelerator_controller_delegate_mus.cc ('k') | ash/mus/new_window_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698