| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_ |
| 6 #define ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_ | 6 #define ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_ |
| 7 | 7 |
| 8 #include "ui/gfx/size.h" | 8 #include "ui/gfx/size.h" |
| 9 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
| 10 | 10 |
| 11 namespace views { | 11 namespace views { |
| 12 class Label; | 12 class Label; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace ash { | 15 namespace ash { |
| 16 namespace internal { | |
| 17 | |
| 18 class ThrobberView; | 16 class ThrobberView; |
| 19 class TrayItemView; | 17 class TrayItemView; |
| 20 class TrayPopupHeaderButton; | 18 class TrayPopupHeaderButton; |
| 21 class ViewClickListener; | 19 class ViewClickListener; |
| 22 | 20 |
| 23 // The 'special' looking row in the uber-tray popups. This is usually the bottom | 21 // The 'special' looking row in the uber-tray popups. This is usually the bottom |
| 24 // row in the popups, and has a fixed height. | 22 // row in the popups, and has a fixed height. |
| 25 class SpecialPopupRow : public views::View { | 23 class SpecialPopupRow : public views::View { |
| 26 public: | 24 public: |
| 27 SpecialPopupRow(); | 25 SpecialPopupRow(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 41 virtual int GetHeightForWidth(int width) OVERRIDE; | 39 virtual int GetHeightForWidth(int width) OVERRIDE; |
| 42 virtual void Layout() OVERRIDE; | 40 virtual void Layout() OVERRIDE; |
| 43 | 41 |
| 44 views::View* content_; | 42 views::View* content_; |
| 45 views::View* button_container_; | 43 views::View* button_container_; |
| 46 views::Label* text_label_; | 44 views::Label* text_label_; |
| 47 | 45 |
| 48 DISALLOW_COPY_AND_ASSIGN(SpecialPopupRow); | 46 DISALLOW_COPY_AND_ASSIGN(SpecialPopupRow); |
| 49 }; | 47 }; |
| 50 | 48 |
| 51 } // namespace internal | |
| 52 } // namespace ash | 49 } // namespace ash |
| 53 | 50 |
| 54 #endif // ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_ | 51 #endif // ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_ |
| OLD | NEW |