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

Unified Diff: ash/common/system/ime/tray_ime_chromeos.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
« no previous file with comments | « ash/common/system/date/date_view.cc ('k') | ash/common/system/overview/overview_button_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/ime/tray_ime_chromeos.cc
diff --git a/ash/common/system/ime/tray_ime_chromeos.cc b/ash/common/system/ime/tray_ime_chromeos.cc
index ed91e79ac75a119d38f0f47ff5ae7be54f812bed..b08ce3fc686d65b110fe02b8712474c45dcf931e 100644
--- a/ash/common/system/ime/tray_ime_chromeos.cc
+++ b/ash/common/system/ime/tray_ime_chromeos.cc
@@ -189,7 +189,7 @@ class IMEDetailedView : public ImeListView {
void ShowSettings() {
WmShell::Get()->RecordUserMetricsAction(UMA_STATUS_AREA_IME_SHOW_DETAILED);
- WmShell::Get()->system_tray_controller()->ShowIMESettings();
+ Shell::Get()->system_tray_controller()->ShowIMESettings();
if (owner()->system_tray())
owner()->system_tray()->CloseSystemBubble();
}
@@ -282,7 +282,7 @@ bool TrayIME::ShouldShowKeyboardToggle() {
base::string16 TrayIME::GetDefaultViewLabel(bool show_ime_label) {
if (show_ime_label) {
IMEInfo current;
- WmShell::Get()->system_tray_delegate()->GetCurrentIME(&current);
+ Shell::Get()->system_tray_delegate()->GetCurrentIME(&current);
return current.name;
} else {
// Display virtual keyboard status instead.
@@ -334,7 +334,7 @@ void TrayIME::DestroyDetailedView() {
void TrayIME::OnIMERefresh() {
// Caches the current ime state.
- SystemTrayDelegate* delegate = WmShell::Get()->system_tray_delegate();
+ SystemTrayDelegate* delegate = Shell::Get()->system_tray_delegate();
ime_list_.clear();
property_list_.clear();
delegate->GetCurrentIME(&current_ime_);
« no previous file with comments | « ash/common/system/date/date_view.cc ('k') | ash/common/system/overview/overview_button_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698