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

Unified Diff: ash/common/new_window_controller.cc

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 10 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_controller.h ('k') | ash/common/palette_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/new_window_controller.cc
diff --git a/ash/common/new_window_controller.cc b/ash/common/new_window_controller.cc
deleted file mode 100644
index f316e9c707d49c012658b4d63f03fbcf7435dcde..0000000000000000000000000000000000000000
--- a/ash/common/new_window_controller.cc
+++ /dev/null
@@ -1,70 +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.
-
-#include "ash/common/new_window_controller.h"
-
-#include <utility>
-
-namespace ash {
-
-NewWindowController::NewWindowController() {}
-
-NewWindowController::~NewWindowController() {}
-
-void NewWindowController::BindRequest(
- mojom::NewWindowControllerRequest request) {
- bindings_.AddBinding(this, std::move(request));
-}
-
-void NewWindowController::NewTab() {
- if (client_)
- client_->NewTab();
-}
-
-void NewWindowController::NewWindow(bool incognito) {
- if (client_)
- client_->NewWindow(incognito);
-}
-
-void NewWindowController::OpenFileManager() {
- if (client_)
- client_->OpenFileManager();
-}
-
-void NewWindowController::OpenCrosh() {
- if (client_)
- client_->OpenCrosh();
-}
-
-void NewWindowController::OpenGetHelp() {
- if (client_)
- client_->OpenGetHelp();
-}
-
-void NewWindowController::RestoreTab() {
- if (client_)
- client_->RestoreTab();
-}
-
-void NewWindowController::ShowKeyboardOverlay() {
- if (client_)
- client_->ShowKeyboardOverlay();
-}
-
-void NewWindowController::ShowTaskManager() {
- if (client_)
- client_->ShowTaskManager();
-}
-
-void NewWindowController::OpenFeedbackPage() {
- if (client_)
- client_->OpenFeedbackPage();
-}
-
-void NewWindowController::SetClient(
- mojom::NewWindowClientAssociatedPtrInfo client) {
- client_.Bind(std::move(client));
-}
-
-} // namespace ash
« no previous file with comments | « ash/common/new_window_controller.h ('k') | ash/common/palette_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698