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

Side by Side Diff: ash/common/new_window_controller.cc

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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/common/new_window_controller.h"
6
7 #include <utility>
8
9 namespace ash {
10
11 NewWindowController::NewWindowController() {}
12
13 NewWindowController::~NewWindowController() {}
14
15 void NewWindowController::BindRequest(
16 mojom::NewWindowControllerRequest request) {
17 bindings_.AddBinding(this, std::move(request));
18 }
19
20 void NewWindowController::NewTab() {
21 if (client_)
22 client_->NewTab();
23 }
24
25 void NewWindowController::NewWindow(bool incognito) {
26 if (client_)
27 client_->NewWindow(incognito);
28 }
29
30 void NewWindowController::OpenFileManager() {
31 if (client_)
32 client_->OpenFileManager();
33 }
34
35 void NewWindowController::OpenCrosh() {
36 if (client_)
37 client_->OpenCrosh();
38 }
39
40 void NewWindowController::OpenGetHelp() {
41 if (client_)
42 client_->OpenGetHelp();
43 }
44
45 void NewWindowController::RestoreTab() {
46 if (client_)
47 client_->RestoreTab();
48 }
49
50 void NewWindowController::ShowKeyboardOverlay() {
51 if (client_)
52 client_->ShowKeyboardOverlay();
53 }
54
55 void NewWindowController::ShowTaskManager() {
56 if (client_)
57 client_->ShowTaskManager();
58 }
59
60 void NewWindowController::OpenFeedbackPage() {
61 if (client_)
62 client_->OpenFeedbackPage();
63 }
64
65 void NewWindowController::SetClient(
66 mojom::NewWindowClientAssociatedPtrInfo client) {
67 client_.Bind(std::move(client));
68 }
69
70 } // namespace ash
OLDNEW
« 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