Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: ui/views/examples/text_example.h

Issue 2654853002: Remove gfx::Canvas::DrawStringRectWithHalo. (Closed)
Patch Set: fix test Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/test/data/compositor/string_with_halo.png ('k') | ui/views/examples/text_example.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/gfx/test/data/compositor/string_with_halo.png ('k') | ui/views/examples/text_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698