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

Side by Side Diff: ui/aura/drag_drop_controller.h

Issue 8450018: First shot at implementing drag&drop for Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor changes 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_DRAG_DROP_CONTROLLER_H_
6 #define UI_AURA_DRAG_DROP_CONTROLLER_H_
7 #pragma once
8
9 #include "ui/aura/aura_export.h"
10 #include "ui/aura/event.h"
11 #include "ui/base/dragdrop/os_exchange_data.h"
12 #include "ui/gfx/point.h"
13
14 namespace aura {
15
16 class MouseEvent;
17
18 class AURA_EXPORT DragDropController {
19 public:
20 virtual ~DragDropController() {}
21
22 virtual void StartDragAndDrop(const ui::OSExchangeData& data,
23 int operation,
24 const gfx::Point& location) = 0;
25
26 virtual void DragUpdate(const MouseEvent& event) = 0;
27
28 virtual void Drop(const MouseEvent& event) = 0;
29 };
30
31 } // namespace aura
32
33 #endif // UI_AURA_DRAG_DROP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698