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

Side by Side Diff: ui/base/dragdrop/drop_target_event.h

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/dragdrop/drag_utils.h ('k') | ui/base/dragdrop/drop_target_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_DRAGDROP_DROP_TARGET_EVENT_H_ 5 #ifndef UI_BASE_DRAGDROP_DROP_TARGET_EVENT_H_
6 #define UI_BASE_DRAGDROP_DROP_TARGET_EVENT_H_ 6 #define UI_BASE_DRAGDROP_DROP_TARGET_EVENT_H_
7 7
8 #include "ui/events/event.h" 8 #include "ui/events/event.h"
9 #include "ui/base/dragdrop/os_exchange_data.h" 9 #include "ui/base/dragdrop/os_exchange_data.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 class UI_EXPORT DropTargetEvent : public LocatedEvent { 13 class UI_BASE_EXPORT DropTargetEvent : public LocatedEvent {
14 public: 14 public:
15 DropTargetEvent(const OSExchangeData& data, 15 DropTargetEvent(const OSExchangeData& data,
16 const gfx::Point& location, 16 const gfx::Point& location,
17 const gfx::Point& root_location, 17 const gfx::Point& root_location,
18 int source_operations); 18 int source_operations);
19 19
20 const OSExchangeData& data() const { return data_; } 20 const OSExchangeData& data() const { return data_; }
21 int source_operations() const { return source_operations_; } 21 int source_operations() const { return source_operations_; }
22 22
23 private: 23 private:
24 // Data associated with the drag/drop session. 24 // Data associated with the drag/drop session.
25 const OSExchangeData& data_; 25 const OSExchangeData& data_;
26 26
27 // Bitmask of supported DragDropTypes::DragOperation by the source. 27 // Bitmask of supported DragDropTypes::DragOperation by the source.
28 int source_operations_; 28 int source_operations_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent); 30 DISALLOW_COPY_AND_ASSIGN(DropTargetEvent);
31 }; 31 };
32 32
33 } // namespace ui 33 } // namespace ui
34 34
35 #endif // UI_BASE_DRAGDROP_DROP_TARGET_EVENT_H_ 35 #endif // UI_BASE_DRAGDROP_DROP_TARGET_EVENT_H_
36 36
OLDNEW
« no previous file with comments | « ui/base/dragdrop/drag_utils.h ('k') | ui/base/dragdrop/drop_target_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698