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

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

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: cleanup Created 4 years, 3 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.cc
diff --git a/chrome/browser/ui/ash/system_tray_common.cc b/chrome/browser/ui/ash/system_tray_common.cc
index c869c3f39001bee2f9f3f3be1d5b91316b4a35e4..0edfa536c1d4250f5120f63a56eb5557651964ff 100644
--- a/chrome/browser/ui/ash/system_tray_common.cc
+++ b/chrome/browser/ui/ash/system_tray_common.cc
@@ -41,17 +41,6 @@ void SystemTrayCommon::ShowSettings() {
}
// static
-void SystemTrayCommon::ShowDateSettings() {
- content::RecordAction(base::UserMetricsAction("ShowDateOptions"));
- std::string sub_page =
- std::string(chrome::kSearchSubPage) + "#" +
- l10n_util::GetStringUTF8(IDS_OPTIONS_SETTINGS_SECTION_TITLE_DATETIME);
- // Everybody can change the time zone (even though it is a device setting).
- chrome::ShowSettingsSubPageForProfile(ProfileManager::GetActiveUserProfile(),
- sub_page);
-}
-
-// static
void SystemTrayCommon::ShowDisplaySettings() {
content::RecordAction(base::UserMetricsAction("ShowDisplayOptions"));
ShowSettingsSubPageForActiveUser(kDisplaySettingsSubPageName);

Powered by Google App Engine
This is Rietveld 408576698