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

Unified Diff: ash/system/web_notification/web_notification_tray.cc

Issue 10832389: Revert 152135 - Fix accessability for web notification tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/system/web_notification/web_notification_tray.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/web_notification_tray.cc
===================================================================
--- ash/system/web_notification/web_notification_tray.cc (revision 152315)
+++ ash/system/web_notification/web_notification_tray.cc (working copy)
@@ -717,7 +717,6 @@
init_params.bubble_width = kWebNotificationWidth;
if (bubble_type == BUBBLE_TYPE_MESAGE_CENTER) {
init_params.max_height = kWebNotificationBubbleMaxHeight;
- init_params.can_activate = true;
} else {
init_params.arrow_color = kBackgroundColor;
init_params.close_on_deactivate = false;
@@ -791,10 +790,6 @@
tray_->HideMessageCenterBubble();
}
- virtual string16 GetAccessibleName() OVERRIDE {
- return tray_->GetAccessibleName();
- }
-
// Overridden from views::WidgetObserver:
virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE {
CHECK_EQ(bubble_widget_, widget);
@@ -1002,11 +997,6 @@
message_center_bubble_->bubble_view()->UpdateBubble();
}
-string16 WebNotificationTray::GetAccessibleName() {
- return l10n_util::GetStringUTF16(
- IDS_ASH_WEB_NOTIFICATION_TRAY_ACCESSIBLE_NAME);
-}
-
// Protected methods (invoked only from Bubble and its child classes)
void WebNotificationTray::SendRemoveNotification(const std::string& id) {
« no previous file with comments | « ash/system/web_notification/web_notification_tray.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698