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

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 2091953002: mash: Move TrayTracing to //ash/common/system/chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 6 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/system/tray/system_tray_notifier.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h" 5 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <set> 10 #include <set>
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 void SystemTrayDelegateChromeOS::OnAccessibilityModeChanged( 1124 void SystemTrayDelegateChromeOS::OnAccessibilityModeChanged(
1125 ash::AccessibilityNotificationVisibility notify) { 1125 ash::AccessibilityNotificationVisibility notify) {
1126 GetWmSystemTrayNotifier()->NotifyAccessibilityModeChanged(notify); 1126 GetWmSystemTrayNotifier()->NotifyAccessibilityModeChanged(notify);
1127 } 1127 }
1128 1128
1129 void SystemTrayDelegateChromeOS::UpdatePerformanceTracing() { 1129 void SystemTrayDelegateChromeOS::UpdatePerformanceTracing() {
1130 if (!user_pref_registrar_) 1130 if (!user_pref_registrar_)
1131 return; 1131 return;
1132 bool value = user_pref_registrar_->prefs()->GetBoolean( 1132 bool value = user_pref_registrar_->prefs()->GetBoolean(
1133 prefs::kPerformanceTracingEnabled); 1133 prefs::kPerformanceTracingEnabled);
1134 GetSystemTrayNotifier()->NotifyTracingModeChanged(value); 1134 GetWmSystemTrayNotifier()->NotifyTracingModeChanged(value);
1135 } 1135 }
1136 1136
1137 // Overridden from InputMethodManager::Observer. 1137 // Overridden from InputMethodManager::Observer.
1138 void SystemTrayDelegateChromeOS::InputMethodChanged( 1138 void SystemTrayDelegateChromeOS::InputMethodChanged(
1139 input_method::InputMethodManager* manager, 1139 input_method::InputMethodManager* manager,
1140 Profile* /* profile */, 1140 Profile* /* profile */,
1141 bool show_message) { 1141 bool show_message) {
1142 GetWmSystemTrayNotifier()->NotifyRefreshIME(); 1142 GetWmSystemTrayNotifier()->NotifyRefreshIME();
1143 } 1143 }
1144 1144
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 LOG(WARNING) << "SystemTrayDelegateChromeOS::GetChildUserMessage call while " 1332 LOG(WARNING) << "SystemTrayDelegateChromeOS::GetChildUserMessage call while "
1333 << "ENABLE_SUPERVISED_USERS undefined."; 1333 << "ENABLE_SUPERVISED_USERS undefined.";
1334 return base::string16(); 1334 return base::string16();
1335 } 1335 }
1336 1336
1337 ash::SystemTrayDelegate* CreateSystemTrayDelegate() { 1337 ash::SystemTrayDelegate* CreateSystemTrayDelegate() {
1338 return new SystemTrayDelegateChromeOS(); 1338 return new SystemTrayDelegateChromeOS();
1339 } 1339 }
1340 1340
1341 } // namespace chromeos 1341 } // namespace chromeos
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698