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

Unified Diff: ui/views/examples/text_example.h

Issue 2869803005: Support finer grained font weights on Mac. (Closed)
Patch Set: fix 10.11 Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/examples/text_example.h
diff --git a/ui/views/examples/text_example.h b/ui/views/examples/text_example.h
index b7b88f11d72049ff6e0b1f7409d5203a4fd54b13..e26b0439dd36ed46ff3d99ee06b3eabc48d6d8df 100644
--- a/ui/views/examples/text_example.h
+++ b/ui/views/examples/text_example.h
@@ -38,7 +38,7 @@ class VIEWS_EXAMPLES_EXPORT TextExample : public ExampleBase,
// Creates and adds a combobox to the layout.
Combobox* AddCombobox(GridLayout* layout,
const char* name,
- const char** strings,
+ const char* const* strings,
int count);
// ButtonListener:
@@ -63,15 +63,15 @@ class VIEWS_EXAMPLES_EXPORT TextExample : public ExampleBase,
// Combo box to choose one of the sample texts.
Combobox* text_cb_;
+ // Combo box to choose a font weight.
+ Combobox* weight_cb_;
+
// Check box to enable/disable multiline text drawing.
Checkbox* multiline_checkbox_;
// Check box to enable/disable character break behavior.
Checkbox* break_checkbox_;
- // Check box to enable/disable bold style.
- Checkbox* bold_checkbox_;
-
// Check box to enable/disable italic style.
Checkbox* italic_checkbox_;

Powered by Google App Engine
This is Rietveld 408576698