| 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 UI_VIEWS_EXAMPLES_TEXT_EXAMPLE_H_ | 5 #ifndef UI_VIEWS_EXAMPLES_TEXT_EXAMPLE_H_ |
| 6 #define UI_VIEWS_EXAMPLES_TEXT_EXAMPLE_H_ | 6 #define UI_VIEWS_EXAMPLES_TEXT_EXAMPLE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 // Combo box to choose one of the sample texts. | 63 // Combo box to choose one of the sample texts. |
| 64 Combobox* text_cb_; | 64 Combobox* text_cb_; |
| 65 | 65 |
| 66 // Check box to enable/disable multiline text drawing. | 66 // Check box to enable/disable multiline text drawing. |
| 67 Checkbox* multiline_checkbox_; | 67 Checkbox* multiline_checkbox_; |
| 68 | 68 |
| 69 // Check box to enable/disable character break behavior. | 69 // Check box to enable/disable character break behavior. |
| 70 Checkbox* break_checkbox_; | 70 Checkbox* break_checkbox_; |
| 71 | 71 |
| 72 // Check box to enable/disable text halo. | |
| 73 Checkbox* halo_checkbox_; | |
| 74 | |
| 75 // Check box to enable/disable bold style. | 72 // Check box to enable/disable bold style. |
| 76 Checkbox* bold_checkbox_; | 73 Checkbox* bold_checkbox_; |
| 77 | 74 |
| 78 // Check box to enable/disable italic style. | 75 // Check box to enable/disable italic style. |
| 79 Checkbox* italic_checkbox_; | 76 Checkbox* italic_checkbox_; |
| 80 | 77 |
| 81 // Check box to enable/disable underline style. | 78 // Check box to enable/disable underline style. |
| 82 Checkbox* underline_checkbox_; | 79 Checkbox* underline_checkbox_; |
| 83 | 80 |
| 84 // We create a model for each of the combobox, so we need to keep them | 81 // We create a model for each of the combobox, so we need to keep them |
| 85 // around until destruction time. | 82 // around until destruction time. |
| 86 std::vector<std::unique_ptr<ExampleComboboxModel>> example_combobox_model_; | 83 std::vector<std::unique_ptr<ExampleComboboxModel>> example_combobox_model_; |
| 87 | 84 |
| 88 DISALLOW_COPY_AND_ASSIGN(TextExample); | 85 DISALLOW_COPY_AND_ASSIGN(TextExample); |
| 89 }; | 86 }; |
| 90 | 87 |
| 91 } // namespace examples | 88 } // namespace examples |
| 92 } // namespace views | 89 } // namespace views |
| 93 | 90 |
| 94 #endif // UI_VIEWS_EXAMPLES_TEXT_EXAMPLE_H_ | 91 #endif // UI_VIEWS_EXAMPLES_TEXT_EXAMPLE_H_ |
| OLD | NEW |