OLD | NEW |
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/user/login_status.h" | 8 #include "ash/system/user/login_status.h" |
9 #include "base/base_export.h" | 9 #include "base/base_export.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 private: | 62 private: |
63 void CreateItemViews(user::LoginStatus login_status); | 63 void CreateItemViews(user::LoginStatus login_status); |
64 | 64 |
65 ash::SystemTray* tray_; | 65 ash::SystemTray* tray_; |
66 views::TrayBubbleView* bubble_view_; | 66 views::TrayBubbleView* bubble_view_; |
67 std::vector<ash::SystemTrayItem*> items_; | 67 std::vector<ash::SystemTrayItem*> items_; |
68 BubbleType bubble_type_; | 68 BubbleType bubble_type_; |
69 | 69 |
70 int autoclose_delay_; | 70 int autoclose_delay_; |
71 base::OneShotTimer<SystemTrayBubble> autoclose_; | 71 base::OneShotTimer autoclose_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(SystemTrayBubble); | 73 DISALLOW_COPY_AND_ASSIGN(SystemTrayBubble); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace ash | 76 } // namespace ash |
77 | 77 |
78 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_ | 78 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_BUBBLE_H_ |
OLD | NEW |