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

Unified Diff: ash/drag_drop/drag_drop_controller_unittest.cc

Issue 11368072: aura: Add flag to indicate if a drag session is started with touch or mouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 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 | « ash/drag_drop/drag_drop_controller.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/drag_drop/drag_drop_controller_unittest.cc
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index 92cc1aaa50164c67aac5f04ec6151feb76740597..de358e58770e9c9ef1f9ab2d48ac2d4347f9c8e7 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -128,12 +128,14 @@ class TestDragDropController : public internal::DragDropController {
private:
int StartDragAndDrop(const ui::OSExchangeData& data,
aura::RootWindow* root_window,
+ aura::Window* source_window,
const gfx::Point& location,
- int operation) OVERRIDE {
+ int operation,
+ ui::DragDropTypes::DragEventSource source) OVERRIDE {
drag_start_received_ = true;
data.GetString(&drag_string_);
return DragDropController::StartDragAndDrop(
- data, root_window, location, operation);
+ data, root_window, source_window, location, operation, source);
}
void DragUpdate(aura::Window* target,
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698