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

Unified Diff: ui/views/widget/native_widget_aura.cc

Issue 8631015: Aura: notify DropHelper when target view is removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged with head Created 9 years, 1 month 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/aura_shell/shadow_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_aura.cc
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index d8859c0debccde3d38ce3e3aff60c67f02c55371..f8927e6afae6aa1c69015be529195e818a9c1df2 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -235,8 +235,8 @@ void NativeWidgetAura::ReorderLayers() {
}
void NativeWidgetAura::ViewRemoved(View* view) {
- // DropTarget stuff. Most likely http://crbug.com/97845
- //NOTIMPLEMENTED();
+ DCHECK(drop_helper_.get() != NULL);
+ drop_helper_->ResetTargetViewIfEquals(view);
}
void NativeWidgetAura::SetNativeWindowProperty(const char* name, void* value) {
« no previous file with comments | « ui/aura_shell/shadow_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698