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

Unified Diff: ash/system/tray_accessibility.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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/system/tray_accessibility.cc
diff --git a/ash/system/tray_accessibility.cc b/ash/system/tray_accessibility.cc
index a3ee0bf29cfe9295c3486a49f476bcfa351aeb98..3d042c2f7fa4aea67d472200aa7e294df7dbea19 100644
--- a/ash/system/tray_accessibility.cc
+++ b/ash/system/tray_accessibility.cc
@@ -9,6 +9,7 @@
#include "ash/resources/vector_icons/vector_icons.h"
#include "ash/session/session_state_delegate.h"
#include "ash/shell.h"
+#include "ash/shell_port.h"
#include "ash/strings/grit/ash_strings.h"
#include "ash/system/tray/hover_highlight_view.h"
#include "ash/system/tray/system_tray.h"
@@ -21,7 +22,6 @@
#include "ash/system/tray/tray_popup_item_style.h"
#include "ash/system/tray/tray_popup_utils.h"
#include "ash/system/tray/tri_view.h"
-#include "ash/wm_shell.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
@@ -398,7 +398,7 @@ void AccessibilityDetailedView::HandleViewClicked(views::View* view) {
} else {
return;
}
- WmShell::Get()->RecordUserMetricsAction(user_action);
+ ShellPort::Get()->RecordUserMetricsAction(user_action);
}
void AccessibilityDetailedView::HandleButtonPressed(views::Button* sender,
@@ -509,7 +509,7 @@ views::View* TrayAccessibility::CreateDetailedView(LoginStatus status) {
request_popup_view_state_ = A11Y_NONE;
return detailed_popup_;
} else {
- WmShell::Get()->RecordUserMetricsAction(
+ ShellPort::Get()->RecordUserMetricsAction(
ash::UMA_STATUS_AREA_DETAILED_ACCESSABILITY);
detailed_menu_ = CreateDetailedMenu();
return detailed_menu_;

Powered by Google App Engine
This is Rietveld 408576698