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

Unified Diff: ash/common/system/tray_accessibility.cc

Issue 2583393002: Send notification to users upon receiving sms messages (Closed)
Patch Set: update return type Created 3 years, 10 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/tray_accessibility.h ('k') | ash/common/system/user/tray_user_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray_accessibility.cc
diff --git a/ash/common/system/tray_accessibility.cc b/ash/common/system/tray_accessibility.cc
index 5ec4704668ca11ee0608cd1decc46befbaa426af..a564071661f48bb45ab8f3f729bfabe38945f5dc 100644
--- a/ash/common/system/tray_accessibility.cc
+++ b/ash/common/system/tray_accessibility.cc
@@ -122,9 +122,8 @@ class DefaultAccessibilityView : public TrayItemMore {
////////////////////////////////////////////////////////////////////////////////
// ash::tray::AccessibilityPopupView
-AccessibilityPopupView::AccessibilityPopupView(SystemTrayItem* owner,
- uint32_t enabled_state_bits)
- : TrayNotificationView(owner, IDR_AURA_UBER_TRAY_ACCESSIBILITY_DARK),
+AccessibilityPopupView::AccessibilityPopupView(uint32_t enabled_state_bits)
+ : TrayNotificationView(IDR_AURA_UBER_TRAY_ACCESSIBILITY_DARK),
label_(CreateLabel(enabled_state_bits)) {
InitView(label_);
}
@@ -438,7 +437,7 @@ views::View* TrayAccessibility::CreateDetailedView(LoginStatus status) {
if (request_popup_view_state_) {
detailed_popup_ =
- new tray::AccessibilityPopupView(this, request_popup_view_state_);
+ new tray::AccessibilityPopupView(request_popup_view_state_);
request_popup_view_state_ = A11Y_NONE;
return detailed_popup_;
} else {
« no previous file with comments | « ash/common/system/tray_accessibility.h ('k') | ash/common/system/user/tray_user_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698