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

Side by Side 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, 4 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_DROP_HELPER_H_ 5 #ifndef UI_VIEWS_WIDGET_DROP_HELPER_H_
6 #define UI_VIEWS_WIDGET_DROP_HELPER_H_ 6 #define UI_VIEWS_WIDGET_DROP_HELPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 int drag_operation); 87 int drag_operation);
88 int NotifyDragOver(const OSExchangeData& data, 88 int NotifyDragOver(const OSExchangeData& data,
89 const gfx::Point& root_view_location, 89 const gfx::Point& root_view_location,
90 int drag_operation); 90 int drag_operation);
91 void NotifyDragExit(); 91 void NotifyDragExit();
92 92
93 // RootView we were created for. 93 // RootView we were created for.
94 View* root_view_; 94 View* root_view_;
95 95
96 // View we're targeting events at. 96 // View we're targeting events at.
97 View* target_view_; 97 View* target_view_ = nullptr;
98 98
99 // The deepest view under the current drop coordinate. 99 // The deepest view under the current drop coordinate.
100 View* deepest_view_; 100 View* deepest_view_ = nullptr;
101
102 bool drag_over_widget_ = false;
101 103
102 DISALLOW_COPY_AND_ASSIGN(DropHelper); 104 DISALLOW_COPY_AND_ASSIGN(DropHelper);
103 }; 105 };
104 106
105 } // namespace views 107 } // namespace views
106 108
107 #endif // UI_VIEWS_WIDGET_DROP_HELPER_H_ 109 #endif // UI_VIEWS_WIDGET_DROP_HELPER_H_
OLDNEW
« 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