| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_VIEWS_GENERIC_INFO_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_GENERIC_INFO_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_GENERIC_INFO_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_GENERIC_INFO_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "views/view.h" | 12 #include "ui/views/view.h" |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 class GridLayout; | 15 class GridLayout; |
| 16 class Label; | 16 class Label; |
| 17 class Textfield; | 17 class Textfield; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // GenericInfoView, displays a tabular grid of read-only textual information, | 20 // GenericInfoView, displays a tabular grid of read-only textual information, |
| 21 // <name, value> pairs. The fixed number of rows must be known at the time of | 21 // <name, value> pairs. The fixed number of rows must be known at the time of |
| 22 // construction. | 22 // construction. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 const int number_of_rows_; | 58 const int number_of_rows_; |
| 59 const int* name_string_ids_; | 59 const int* name_string_ids_; |
| 60 scoped_array<views::Label*> name_views_; | 60 scoped_array<views::Label*> name_views_; |
| 61 scoped_array<views::Textfield*> value_views_; | 61 scoped_array<views::Textfield*> value_views_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(GenericInfoView); | 63 DISALLOW_COPY_AND_ASSIGN(GenericInfoView); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_UI_VIEWS_GENERIC_INFO_VIEW_H_ | 66 #endif // CHROME_BROWSER_UI_VIEWS_GENERIC_INFO_VIEW_H_ |
| 67 | 67 |
| OLD | NEW |