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/tray/system_tray_bubble.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
« 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;
53 52
54 BubbleType bubble_type() const { return bubble_type_; } 53 BubbleType bubble_type() const { return bubble_type_; }
55 TrayBubbleView* bubble_view() const { return bubble_view_; } 54 TrayBubbleView* bubble_view() const { return bubble_view_; }
56 55
57 void DestroyItemViews(); 56 void DestroyItemViews();
58 void StartAutoCloseTimer(int seconds); 57 void StartAutoCloseTimer(int seconds);
59 void StopAutoCloseTimer(); 58 void StopAutoCloseTimer();
60 void RestartAutoCloseTimer(); 59 void RestartAutoCloseTimer();
61 void Close(); 60 void Close();
62 void SetVisible(bool is_visible); 61 void SetVisible(bool is_visible);
(...skipping 14 matching lines...) Expand all
77 int autoclose_delay_; 76 int autoclose_delay_;
78 base::OneShotTimer<SystemTrayBubble> autoclose_; 77 base::OneShotTimer<SystemTrayBubble> autoclose_;
79 78
80 DISALLOW_COPY_AND_ASSIGN(SystemTrayBubble); 79 DISALLOW_COPY_AND_ASSIGN(SystemTrayBubble);
81 }; 80 };
82 81
83 } // namespace internal 82 } // namespace internal
84 } // namespace ash 83 } // namespace ash
85 84
86 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_ 85 #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