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

Unified Diff: ui/views/widget/drop_helper.h

Issue 2190773003: [ABANDONED] Simplify ash shelf dimmer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore an EventHandler object; fix behavior tests. Created 4 years, 5 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/shelf/shelf_widget.cc ('k') | ui/views/widget/drop_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/drop_helper.h
diff --git a/ui/views/widget/drop_helper.h b/ui/views/widget/drop_helper.h
index 4e740aafe3da669470c4245d983b768347a4410d..de52746b30289a103e5decc373d4800f66608866 100644
--- a/ui/views/widget/drop_helper.h
+++ b/ui/views/widget/drop_helper.h
@@ -94,10 +94,12 @@ class DropHelper {
View* root_view_;
// View we're targeting events at.
- View* target_view_;
+ View* target_view_ = nullptr;
// The deepest view under the current drop coordinate.
- View* deepest_view_;
+ View* deepest_view_ = nullptr;
+
+ bool drag_over_widget_ = false;
DISALLOW_COPY_AND_ASSIGN(DropHelper);
};
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ui/views/widget/drop_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698