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

Unified Diff: chrome/browser/ui/views/desktop_capture/desktop_media_source_view.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 | « ash/common/shelf/shelf_button.cc ('k') | chrome/browser/ui/views/location_bar/bubble_icon_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc
diff --git a/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc b/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc
index 25fb881fdc2b3b80c57656ffa5f00a62d017a91f..88d6bbff51313bee9be2fd7c5273293d8d9dcbbe 100644
--- a/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc
+++ b/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc
@@ -51,8 +51,8 @@ DesktopMediaSourceView::DesktopMediaSourceView(
AddChildView(icon_view_);
AddChildView(image_view_);
AddChildView(label_);
- icon_view_->set_interactive(false);
- image_view_->set_interactive(false);
+ icon_view_->set_can_process_events_within_subtree(false);
+ image_view_->set_can_process_events_within_subtree(false);
SetFocusBehavior(FocusBehavior::ALWAYS);
SetStyle(style_);
}
« no previous file with comments | « ash/common/shelf/shelf_button.cc ('k') | chrome/browser/ui/views/location_bar/bubble_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698