OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_POPUP_MESSAGE_H_ | 5 #ifndef ASH_POPUP_MESSAGE_H_ |
6 #define ASH_POPUP_MESSAGE_H_ | 6 #define ASH_POPUP_MESSAGE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void Close(); | 62 void Close(); |
63 | 63 |
64 private: | 64 private: |
65 class MessageBubble; | 65 class MessageBubble; |
66 | 66 |
67 void CancelHidingAnimation(); | 67 void CancelHidingAnimation(); |
68 | 68 |
69 MessageBubble* view_; | 69 MessageBubble* view_; |
70 views::Widget* widget_; | 70 views::Widget* widget_; |
71 | 71 |
72 // Variables of the construction time. | |
73 views::View* anchor_; | |
74 base::string16 caption_; | 72 base::string16 caption_; |
75 base::string16 message_; | 73 base::string16 message_; |
76 IconType message_type_; | |
77 views::BubbleBorder::Arrow arrow_orientation_; | |
78 | 74 |
79 DISALLOW_COPY_AND_ASSIGN(PopupMessage); | 75 DISALLOW_COPY_AND_ASSIGN(PopupMessage); |
80 }; | 76 }; |
81 | 77 |
82 } // namespace ash | 78 } // namespace ash |
83 | 79 |
84 #endif // ASH_POPUP_MESSAGE_H_ | 80 #endif // ASH_POPUP_MESSAGE_H_ |
OLD | NEW |