Chromium Code Reviews| 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_TRAY_DETAILS_VIEW_H_ | 5 #ifndef ASH_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ |
| 6 #define ASH_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ | 6 #define ASH_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/system/tray/special_popup_row.h" | |
|
stevenjb
2013/02/13 23:13:16
Can we avoid this? It looks like we just need to a
jennyz
2013/02/13 23:36:57
It is more convenient to include it here, otherwis
| |
| 8 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
| 9 | 10 |
| 10 namespace views { | 11 namespace views { |
| 11 class ScrollView; | 12 class ScrollView; |
| 12 } | 13 } |
| 13 | 14 |
| 14 namespace ash { | 15 namespace ash { |
| 15 | 16 |
| 16 class SystemTrayItem; | 17 class SystemTrayItem; |
| 17 | 18 |
| 18 namespace internal { | 19 namespace internal { |
| 19 | 20 |
| 20 class FixedSizedScrollView; | 21 class FixedSizedScrollView; |
| 21 class ScrollBorder; | 22 class ScrollBorder; |
| 22 class SpecialPopupRow; | |
| 23 class ViewClickListener; | 23 class ViewClickListener; |
| 24 | 24 |
| 25 class TrayDetailsView : public views::View { | 25 class TrayDetailsView : public views::View { |
| 26 public: | 26 public: |
| 27 explicit TrayDetailsView(SystemTrayItem* owner); | 27 explicit TrayDetailsView(SystemTrayItem* owner); |
| 28 virtual ~TrayDetailsView(); | 28 virtual ~TrayDetailsView(); |
| 29 | 29 |
| 30 // Creates a row with special highlighting etc. This is typically the | 30 // Creates a row with special highlighting etc. This is typically the |
| 31 // bottom-most row in the popup. | 31 // bottom-most row in the popup. |
| 32 void CreateSpecialRow(int string_id, ViewClickListener* listener); | 32 void CreateSpecialRow(int string_id, ViewClickListener* listener); |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 58 views::View* scroll_content_; | 58 views::View* scroll_content_; |
| 59 ScrollBorder* scroll_border_; | 59 ScrollBorder* scroll_border_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(TrayDetailsView); | 61 DISALLOW_COPY_AND_ASSIGN(TrayDetailsView); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace internal | 64 } // namespace internal |
| 65 } // namespace ash | 65 } // namespace ash |
| 66 | 66 |
| 67 #endif // ASH_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ | 67 #endif // ASH_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ |
| OLD | NEW |