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

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

Issue 1963563002: Views: Flip default value of CustomButton::request_focus_on_press_ to false. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
« no previous file with comments | « ui/views/examples/button_example.cc ('k') | ui/views/examples/tree_view_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/tree_view_example.h
diff --git a/ui/views/examples/tree_view_example.h b/ui/views/examples/tree_view_example.h
index 759efaf761ac1ea3699f5221b3c155bcc536c95c..fb0ccf93db619bc228d62bb3069f0299f3e22836 100644
--- a/ui/views/examples/tree_view_example.h
+++ b/ui/views/examples/tree_view_example.h
@@ -15,6 +15,7 @@
namespace views {
+class LabelButton;
class MenuRunner;
class TreeView;
@@ -70,9 +71,9 @@ class VIEWS_EXAMPLES_EXPORT TreeViewExample
TreeView* tree_view_;
// Control buttons to modify the model.
- Button* add_;
- Button* remove_;
- Button* change_title_;
+ LabelButton* add_;
+ LabelButton* remove_;
+ LabelButton* change_title_;
typedef ui::TreeNodeWithValue<int> NodeType;
« no previous file with comments | « ui/views/examples/button_example.cc ('k') | ui/views/examples/tree_view_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698