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

Side by Side Diff: ash/mus/network_connect_delegate_mus.cc

Issue 2411223002: chromeos: Refactor system tray Wi-Fi connect dialog so it works with mash (Closed)
Patch Set: NON_EXPORTED_BASE 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 unified diff | Download patch
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/mus/network_connect_delegate_mus.h"
6
7 #include "ash/common/system/tray/system_tray_controller.h"
8 #include "ash/common/wm_shell.h"
9 #include "base/logging.h"
10
11 namespace ash {
12 namespace mus {
13
14 NetworkConnectDelegateMus::NetworkConnectDelegateMus() {}
15
16 NetworkConnectDelegateMus::~NetworkConnectDelegateMus() {}
17
18 void NetworkConnectDelegateMus::ShowNetworkConfigure(
19 const std::string& service_path) {
20 WmShell::Get()->system_tray_controller()->ShowNetworkConfigure(service_path);
21 }
22
23 void NetworkConnectDelegateMus::ShowNetworkSettingsForGuid(
24 const std::string& network_id) {
25 WmShell::Get()->system_tray_controller()->ShowNetworkSettings(network_id);
26 }
27
28 bool NetworkConnectDelegateMus::ShowEnrollNetwork(
29 const std::string& network_id) {
30 // TODO(mash): http://crbug.com/644355
31 NOTIMPLEMENTED();
32 return false;
33 }
34
35 void NetworkConnectDelegateMus::ShowMobileSimDialog() {
36 // TODO(mash): http://crbug.com/644355
37 NOTIMPLEMENTED();
38 }
39
40 void NetworkConnectDelegateMus::ShowMobileSetupDialog(
41 const std::string& service_path) {
42 // TODO(mash): http://crbug.com/644355
43 NOTIMPLEMENTED();
44 }
45
46 } // namespace mus
47 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698