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

Unified Diff: ash/common/new_window_controller.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/mus_property_mirror_ash_unittest.cc ('k') | ash/common/new_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/new_window_controller.h
diff --git a/ash/common/new_window_controller.h b/ash/common/new_window_controller.h
deleted file mode 100644
index 32e262a4cabd9b2d19ce8137dd69006ac8193342..0000000000000000000000000000000000000000
--- a/ash/common/new_window_controller.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// 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_COMMON_NEW_WINDOW_CONTROLLER_H_
-#define ASH_COMMON_NEW_WINDOW_CONTROLLER_H_
-
-#include "ash/public/interfaces/new_window.mojom.h"
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/associated_binding.h"
-#include "mojo/public/cpp/bindings/binding_set.h"
-
-namespace ash {
-
-// Provides the NewWindowController interface to the outside world. This lets a
-// consumer of ash provide a NewWindowClient, which we will dispatch to if one
-// has been provided to us.
-class NewWindowController : public mojom::NewWindowController,
- public mojom::NewWindowClient {
- public:
- NewWindowController();
- ~NewWindowController() override;
-
- void BindRequest(mojom::NewWindowControllerRequest request);
-
- // NewWindowClient:
- 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:
- // NewWindowController:
- void SetClient(mojom::NewWindowClientAssociatedPtrInfo client) override;
-
- mojo::BindingSet<mojom::NewWindowController> bindings_;
-
- mojom::NewWindowClientAssociatedPtr client_;
-
- DISALLOW_COPY_AND_ASSIGN(NewWindowController);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_NEW_WINDOW_CONTROLLER_H_
« no previous file with comments | « ash/common/mus_property_mirror_ash_unittest.cc ('k') | ash/common/new_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698