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

Unified Diff: ui/views/controls/button/label_button.cc

Issue 2713993005: Clean up ImageView. (Closed)
Patch Set: revert errant changes Created 3 years, 10 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/app_list/views/tile_item_view.cc ('k') | ui/views/controls/image_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/label_button.cc
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
index 28242d0ba474901008eb4586374fe8280f0a1ef8..4a7cfd912fab2b1bdd0ce463176fc6b501408a15 100644
--- a/ui/views/controls/button/label_button.cc
+++ b/ui/views/controls/button/label_button.cc
@@ -104,7 +104,7 @@ LabelButton::LabelButton(ButtonListener* listener, const base::string16& text)
ink_drop_container_->SetVisible(false);
AddChildView(image_);
- image_->set_interactive(false);
+ image_->set_can_process_events_within_subtree(false);
AddChildView(label_);
label_->SetFontList(cached_normal_font_list_);
« no previous file with comments | « ui/app_list/views/tile_item_view.cc ('k') | ui/views/controls/image_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698