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

Unified Diff: ui/views/drag_utils_aura.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/drag_utils.cc ('k') | ui/views/examples/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/drag_utils_aura.cc
diff --git a/ui/views/drag_utils_aura.cc b/ui/views/drag_utils_aura.cc
deleted file mode 100644
index cb64199a2a655e11f3275d1cec8e4d4c028d9520..0000000000000000000000000000000000000000
--- a/ui/views/drag_utils_aura.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/views/drag_utils.h"
-
-#include "ui/aura/window.h"
-#include "ui/aura/window_event_dispatcher.h"
-#include "ui/wm/public/drag_drop_client.h"
-
-namespace views {
-
-void RunShellDrag(gfx::NativeView view,
- const ui::OSExchangeData& data,
- const gfx::Point& location,
- int operation,
- ui::DragDropTypes::DragEventSource source) {
- gfx::Point root_location(location);
- aura::Window* root_window = view->GetRootWindow();
- aura::Window::ConvertPointToTarget(view, root_window, &root_location);
- if (aura::client::GetDragDropClient(root_window)) {
- aura::client::GetDragDropClient(root_window)->StartDragAndDrop(
- data, root_window, view, root_location, operation, source);
- }
-}
-
-} // namespace views
« no previous file with comments | « ui/views/drag_utils.cc ('k') | ui/views/examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698