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

Unified Diff: ui/app_list/views/tile_item_view.cc

Issue 2713993005: Clean up ImageView. (Closed)
Patch Set: one more include removed 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
Index: ui/app_list/views/tile_item_view.cc
diff --git a/ui/app_list/views/tile_item_view.cc b/ui/app_list/views/tile_item_view.cc
index 8cdb79a8b38faf8d6380faf5b0a3692701fd00b4..0d2b7ce79b8139eff60fa9721925d2c70d98c382 100644
--- a/ui/app_list/views/tile_item_view.cc
+++ b/ui/app_list/views/tile_item_view.cc
@@ -28,7 +28,7 @@ TileItemView::TileItemView()
title_(new views::Label),
selected_(false) {
// Prevent the icon view from interfering with our mouse events.
- icon_->set_interactive(false);
+ icon_->set_can_process_events_within_subtree(false);
icon_->SetVerticalAlignment(views::ImageView::LEADING);
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();

Powered by Google App Engine
This is Rietveld 408576698