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

Unified Diff: ui/views/view.cc

Issue 23483041: [Cleanup] Remove mac code from aura/ash/views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/focus/accelerator_handler.h ('k') | ui/views/views.gyp » ('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 81f0207bec7cfd07fc2ef3beefb6f6becada10a8..cd4e11061ec8ae366a7bda9cbfe21940417f9cb9 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -2296,7 +2296,6 @@ void View::UpdateTooltip() {
bool View::DoDrag(const ui::LocatedEvent& event,
const gfx::Point& press_pt,
ui::DragDropTypes::DragEventSource source) {
-#if !defined(OS_MACOSX)
int drag_operations = GetDragOperations(press_pt);
if (drag_operations == ui::DragDropTypes::DRAG_NONE)
return false;
@@ -2321,9 +2320,6 @@ 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 // !defined(OS_MACOSX)
}
} // namespace views
« no previous file with comments | « ui/views/focus/accelerator_handler.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698