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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ash/mus/network_connect_delegate_mus.cc
diff --git a/ash/mus/network_connect_delegate_mus.cc b/ash/mus/network_connect_delegate_mus.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3e4075a0f29518a9d27cdebecb1fd22fa2d29fa3
--- /dev/null
+++ b/ash/mus/network_connect_delegate_mus.cc
@@ -0,0 +1,47 @@
+// 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/mus/network_connect_delegate_mus.h"
+
+#include "ash/common/system/tray/system_tray_controller.h"
+#include "ash/common/wm_shell.h"
+#include "base/logging.h"
+
+namespace ash {
+namespace mus {
+
+NetworkConnectDelegateMus::NetworkConnectDelegateMus() {}
+
+NetworkConnectDelegateMus::~NetworkConnectDelegateMus() {}
+
+void NetworkConnectDelegateMus::ShowNetworkConfigure(
+ const std::string& service_path) {
+ WmShell::Get()->system_tray_controller()->ShowNetworkConfigure(service_path);
+}
+
+void NetworkConnectDelegateMus::ShowNetworkSettingsForGuid(
+ const std::string& network_id) {
+ WmShell::Get()->system_tray_controller()->ShowNetworkSettings(network_id);
+}
+
+bool NetworkConnectDelegateMus::ShowEnrollNetwork(
+ const std::string& network_id) {
+ // TODO(mash): http://crbug.com/644355
+ NOTIMPLEMENTED();
+ return false;
+}
+
+void NetworkConnectDelegateMus::ShowMobileSimDialog() {
+ // TODO(mash): http://crbug.com/644355
+ NOTIMPLEMENTED();
+}
+
+void NetworkConnectDelegateMus::ShowMobileSetupDialog(
+ const std::string& service_path) {
+ // TODO(mash): http://crbug.com/644355
+ NOTIMPLEMENTED();
+}
+
+} // namespace mus
+} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698