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

Unified Diff: ui/views/widget/widget.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 | « ui/views/widget/drop_helper.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index a92dbce7282d83e4dd9e6552c5be1468a6d444c3..b1bd0d4590ce85a55b15e4d76ece62104b23a67e 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -602,6 +602,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
}
const View* dragged_view() const { return dragged_view_; }
+ // Minimal drag-and-drop notifications, used to detect drags over widgets.
+ virtual void OnDragEnter();
+ virtual void OnDragExit();
+
// Adds the specified |rect| in client area coordinates to the rectangle to be
// redrawn.
virtual void SchedulePaintInRect(const gfx::Rect& rect);
« no previous file with comments | « ui/views/widget/drop_helper.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698