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

Side by Side Diff: ash/system/tray/system_tray_bubble.h

Issue 10825389: Fix accessability for web notification tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix asan bug 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/tray/system_tray.cc ('k') | ash/system/tray/system_tray_bubble.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_TRAY_SYSTEM_TRAY_BUBBLE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_
7 7
8 #include "ash/system/tray/tray_bubble_view.h" 8 #include "ash/system/tray/tray_bubble_view.h"
9 #include "ash/system/user/login_status.h" 9 #include "ash/system/user/login_status.h"
10 #include "base/base_export.h" 10 #include "base/base_export.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Also creates |bubble_widget_| and sets up animations. 42 // Also creates |bubble_widget_| and sets up animations.
43 void InitView(views::View* anchor, 43 void InitView(views::View* anchor,
44 TrayBubbleView::InitParams init_params, 44 TrayBubbleView::InitParams init_params,
45 user::LoginStatus login_status); 45 user::LoginStatus login_status);
46 46
47 // Overridden from TrayBubbleView::Host. 47 // Overridden from TrayBubbleView::Host.
48 virtual void BubbleViewDestroyed() OVERRIDE; 48 virtual void BubbleViewDestroyed() OVERRIDE;
49 virtual void OnMouseEnteredView() OVERRIDE; 49 virtual void OnMouseEnteredView() OVERRIDE;
50 virtual void OnMouseExitedView() OVERRIDE; 50 virtual void OnMouseExitedView() OVERRIDE;
51 virtual void OnClickedOutsideView() OVERRIDE; 51 virtual void OnClickedOutsideView() OVERRIDE;
52 virtual string16 GetAccessibleName() OVERRIDE;
52 53
53 BubbleType bubble_type() const { return bubble_type_; } 54 BubbleType bubble_type() const { return bubble_type_; }
54 TrayBubbleView* bubble_view() const { return bubble_view_; } 55 TrayBubbleView* bubble_view() const { return bubble_view_; }
55 56
56 void DestroyItemViews(); 57 void DestroyItemViews();
57 void StartAutoCloseTimer(int seconds); 58 void StartAutoCloseTimer(int seconds);
58 void StopAutoCloseTimer(); 59 void StopAutoCloseTimer();
59 void RestartAutoCloseTimer(); 60 void RestartAutoCloseTimer();
60 void Close(); 61 void Close();
61 void SetVisible(bool is_visible); 62 void SetVisible(bool is_visible);
(...skipping 14 matching lines...) Expand all
76 int autoclose_delay_; 77 int autoclose_delay_;
77 base::OneShotTimer<SystemTrayBubble> autoclose_; 78 base::OneShotTimer<SystemTrayBubble> autoclose_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(SystemTrayBubble); 80 DISALLOW_COPY_AND_ASSIGN(SystemTrayBubble);
80 }; 81 };
81 82
82 } // namespace internal 83 } // namespace internal
83 } // namespace ash 84 } // namespace ash
84 85
85 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_ 86 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698