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

Unified Diff: chrome/browser/ui/ash/system_tray_common.h

Issue 2395523002: chromeos: Refactor system tray "show settings" commands to use mojo (Closed)
Patch Set: 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: chrome/browser/ui/ash/system_tray_common.h
diff --git a/chrome/browser/ui/ash/system_tray_common.h b/chrome/browser/ui/ash/system_tray_common.h
deleted file mode 100644
index 5e835b737f534d4d5f020d1b435c8b39b3e53d1f..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/system_tray_common.h
+++ /dev/null
@@ -1,63 +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 CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
-#define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
-
-#include <string>
-
-#include "base/macros.h"
-
-// System tray code shared between classic ash SystemTrayDelegateChromeos and
-// mustash SystemTrayClient.
-// TODO(jamescook): Move all implementations into SystemTrayClient.
-class SystemTrayCommon {
- public:
- static const char kDisplaySettingsSubPageName[];
- static const char kDisplayOverscanSettingsSubPageName[];
-
- // Shows general settings UI.
- static void ShowSettings();
-
- // Shows the settings related to date, timezone etc.
- static void ShowDateSettings();
-
- // Shows settings related to multiple displays.
- static void ShowDisplaySettings();
-
- // Shows settings related to power.
- static void ShowPowerSettings();
-
- // Shows the page that lets you disable performance tracing.
- static void ShowChromeSlow();
-
- // Shows settings related to input methods.
- static void ShowIMESettings();
-
- // Shows help.
- static void ShowHelp();
-
- // Show accessibility help.
- static void ShowAccessibilityHelp();
-
- // Show the settings related to accessibility.
- static void ShowAccessibilitySettings();
-
- // Shows the help center article for the stylus tool palette.
- static void ShowPaletteHelp();
-
- // Shows the settings related to the stylus tool palette.
- static void ShowPaletteSettings();
-
- // Shows information about public account mode.
- static void ShowPublicAccountInfo();
-
- // Shows UI for changing proxy settings.
- static void ShowProxySettings();
-
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698