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

Unified Diff: ash/common/system/chromeos/tray_caps_lock.cc

Issue 2761063002: Move more from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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/common/system/chromeos/tray_caps_lock.cc
diff --git a/ash/common/system/chromeos/tray_caps_lock.cc b/ash/common/system/chromeos/tray_caps_lock.cc
index 164085fbac911aca0ebf0013a9b7c63754471328..bed9111ff215c18704c14d69e7ea066add66c28e 100644
--- a/ash/common/system/chromeos/tray_caps_lock.cc
+++ b/ash/common/system/chromeos/tray_caps_lock.cc
@@ -90,7 +90,7 @@ class CapsLockDefaultView : public ActionableView {
int shortcut_string_id = 0;
bool search_mapped_to_caps_lock =
- WmShell::Get()->system_tray_delegate()->IsSearchKeyMappedToCapsLock();
+ Shell::Get()->system_tray_delegate()->IsSearchKeyMappedToCapsLock();
if (caps_lock_enabled) {
shortcut_string_id =
search_mapped_to_caps_lock
@@ -209,7 +209,7 @@ views::View* TrayCapsLock::CreateDetailedView(LoginStatus status) {
detailed_->AddChildView(image);
const int string_id =
- WmShell::Get()->system_tray_delegate()->IsSearchKeyMappedToCapsLock()
+ Shell::Get()->system_tray_delegate()->IsSearchKeyMappedToCapsLock()
? IDS_ASH_STATUS_TRAY_CAPS_LOCK_CANCEL_BY_SEARCH
: IDS_ASH_STATUS_TRAY_CAPS_LOCK_CANCEL_BY_ALT_SEARCH;
views::Label* label = TrayPopupUtils::CreateDefaultLabel();
« no previous file with comments | « ash/common/system/chromeos/supervised/tray_supervised_user.cc ('k') | ash/common/system/chromeos/tray_tracing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698