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

Side by Side Diff: ash/system/web_notification/web_notification_tray.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 5 #ifndef ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
6 #define ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 6 #define ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/tray/tray_background_view.h" 9 #include "ash/system/tray/tray_background_view.h"
10 #include "ash/system/user/login_status.h" 10 #include "ash/system/user/login_status.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // Returns true if the message center bubble is visible. 119 // Returns true if the message center bubble is visible.
120 bool IsMessageCenterBubbleVisible() const; 120 bool IsMessageCenterBubbleVisible() const;
121 121
122 // Returns true if the mouse is inside the notification bubble. 122 // Returns true if the mouse is inside the notification bubble.
123 bool IsMouseInNotificationBubble() const; 123 bool IsMouseInNotificationBubble() const;
124 124
125 // Overridden from TrayBackgroundView. 125 // Overridden from TrayBackgroundView.
126 virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE; 126 virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE;
127 virtual void AnchorUpdated() OVERRIDE; 127 virtual void AnchorUpdated() OVERRIDE;
128 virtual string16 GetAccessibleName() OVERRIDE;
129 128
130 // Overridden from internal::ActionableView. 129 // Overridden from internal::ActionableView.
131 virtual bool PerformAction(const ui::Event& event) OVERRIDE; 130 virtual bool PerformAction(const ui::Event& event) OVERRIDE;
132 131
133 protected: 132 protected:
134 // Send a remove request to the delegate. 133 // Send a remove request to the delegate.
135 void SendRemoveNotification(const std::string& id); 134 void SendRemoveNotification(const std::string& id);
136 135
137 // Send a remove request for all notifications to the delegate. 136 // Send a remove request for all notifications to the delegate.
138 void SendRemoveAllNotifications(); 137 void SendRemoveAllNotifications();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 views::Label* count_label_; 173 views::Label* count_label_;
175 Delegate* delegate_; 174 Delegate* delegate_;
176 bool show_message_center_on_unlock_; 175 bool show_message_center_on_unlock_;
177 176
178 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); 177 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray);
179 }; 178 };
180 179
181 } // namespace ash 180 } // namespace ash
182 181
183 #endif // ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 182 #endif // ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_bubble_view.cc ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698