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

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

Issue 10827271: Replace views::Event with ui::Event. (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
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Hide the single notification bubble if visible. 113 // Hide the single notification bubble if visible.
114 void HideNotificationBubble(); 114 void HideNotificationBubble();
115 115
116 // Updates tray visibility login status of the system changes. 116 // Updates tray visibility login status of the system changes.
117 void UpdateAfterLoginStatusChange(user::LoginStatus login_status); 117 void UpdateAfterLoginStatusChange(user::LoginStatus login_status);
118 118
119 // Overridden from TrayBackgroundView. 119 // Overridden from TrayBackgroundView.
120 virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE; 120 virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE;
121 121
122 // Overridden from internal::ActionableView. 122 // Overridden from internal::ActionableView.
123 virtual bool PerformAction(const views::Event& event) OVERRIDE; 123 virtual bool PerformAction(const ui::Event& event) OVERRIDE;
124 124
125 protected: 125 protected:
126 // Send a remove request to the delegate. 126 // Send a remove request to the delegate.
127 void SendRemoveNotification(const std::string& id); 127 void SendRemoveNotification(const std::string& id);
128 128
129 // Send a remove request for all notifications to the delegate. 129 // Send a remove request for all notifications to the delegate.
130 void SendRemoveAllNotifications(); 130 void SendRemoveAllNotifications();
131 131
132 // Disable all notifications matching notification |id|. 132 // Disable all notifications matching notification |id|.
133 void DisableByExtension(const std::string& id); 133 void DisableByExtension(const std::string& id);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 views::Label* count_label_; 165 views::Label* count_label_;
166 Delegate* delegate_; 166 Delegate* delegate_;
167 bool show_message_center_on_unlock_; 167 bool show_message_center_on_unlock_;
168 168
169 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); 169 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray);
170 }; 170 };
171 171
172 } // namespace ash 172 } // namespace ash
173 173
174 #endif // ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 174 #endif // ASH_SYSTEM_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
OLDNEW
« no previous file with comments | « ash/system/user/tray_user.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