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

Unified Diff: ui/views/view.cc

Issue 231883003: [stash] 20140404-crbug-312961-mac-views-bridge-C-wholegrid Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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') | ui/views/view_mac.cc » ('j') | 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 36522a54499ad292228a3983df9d0165023e153a..570e85d3d94bb28a544d1f83f26805bd1dd1adc9 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -44,7 +44,7 @@
#include "ui/views/layout/layout_manager.h"
#include "ui/views/rect_based_targeting_utils.h"
#include "ui/views/views_delegate.h"
-#include "ui/views/widget/native_widget_private.h"
+//#include "ui/views/widget/native_widget_private.h"
#include "ui/views/widget/root_view.h"
#include "ui/views/widget/tooltip_manager.h"
#include "ui/views/widget/widget.h"
@@ -2340,6 +2340,7 @@ bool View::DoDrag(const ui::LocatedEvent& event,
if (widget->dragged_view())
return false;
+#ifdef FIXME
OSExchangeData data;
WriteDragData(press_pt, &data);
@@ -2350,6 +2351,9 @@ bool View::DoDrag(const ui::LocatedEvent& event,
widget->RunShellDrag(this, data, widget_location, drag_operations, source);
// WARNING: we may have been deleted.
return true;
+#else
+ return false;
+#endif
}
} // namespace views
« no previous file with comments | « ui/views/view.h ('k') | ui/views/view_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698