OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ | 5 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ |
6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ | 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. | 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. |
11 #undef RootWindow | 11 #undef RootWindow |
12 | 12 |
13 #include <map> | 13 #include <map> |
14 | 14 |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/pickle.h" | 16 #include "base/pickle.h" |
17 #include "ui/base/dragdrop/os_exchange_data.h" | 17 #include "ui/base/dragdrop/os_exchange_data.h" |
18 #include "ui/base/x/selection_owner.h" | 18 #include "ui/base/x/selection_owner.h" |
19 #include "ui/base/x/selection_requestor.h" | 19 #include "ui/base/x/selection_requestor.h" |
20 #include "ui/base/x/selection_utils.h" | 20 #include "ui/base/x/selection_utils.h" |
21 #include "ui/events/platform/platform_event_dispatcher.h" | 21 #include "ui/events/platform/platform_event_dispatcher.h" |
| 22 #include "ui/gfx/geometry/vector2d.h" |
22 #include "ui/gfx/image/image_skia.h" | 23 #include "ui/gfx/image/image_skia.h" |
23 #include "ui/gfx/vector2d.h" | |
24 #include "ui/gfx/x/x11_atom_cache.h" | 24 #include "ui/gfx/x/x11_atom_cache.h" |
25 #include "url/gurl.h" | 25 #include "url/gurl.h" |
26 | 26 |
27 namespace ui { | 27 namespace ui { |
28 | 28 |
29 class Clipboard; | 29 class Clipboard; |
30 class OSExchangeDataProviderAuraX11Test; | 30 class OSExchangeDataProviderAuraX11Test; |
31 | 31 |
32 // OSExchangeData::Provider implementation for aura on linux. | 32 // OSExchangeData::Provider implementation for aura on linux. |
33 class UI_BASE_EXPORT OSExchangeDataProviderAuraX11 | 33 class UI_BASE_EXPORT OSExchangeDataProviderAuraX11 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 // Takes a snapshot of |format_map_| and offers it to other windows. | 143 // Takes a snapshot of |format_map_| and offers it to other windows. |
144 mutable SelectionOwner selection_owner_; | 144 mutable SelectionOwner selection_owner_; |
145 | 145 |
146 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderAuraX11); | 146 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderAuraX11); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace ui | 149 } // namespace ui |
150 | 150 |
151 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ | 151 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ |
OLD | NEW |