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

Unified Diff: ui/views/view.cc

Issue 2656853002: [Web Payments] Refactor the row display code. (Closed)
Patch Set: Rebase Created 3 years, 11 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/view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index cf93f92c3016a06eece18b959e411bdde8da2f91..04c5f2fae25957c3ca3b706654e263fc8b3c6638 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -130,6 +130,7 @@ View::View()
#if DCHECK_IS_ON()
iterating_(false),
#endif
+ can_process_events_within_subtree_(true),
visible_(true),
enabled_(true),
notify_enter_exit_on_child_(false),
@@ -988,7 +989,7 @@ View* View::GetEventHandlerForRect(const gfx::Rect& rect) {
}
bool View::CanProcessEventsWithinSubtree() const {
- return true;
+ return can_process_events_within_subtree_;
}
View* View::GetTooltipHandlerForPoint(const gfx::Point& point) {
« no previous file with comments | « ui/views/view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698