OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AURA_MUS_OS_EXCHANGE_DATA_PROVIDER_MUS_H_ | 5 #ifndef UI_AURA_MUS_OS_EXCHANGE_DATA_PROVIDER_MUS_H_ |
6 #define UI_AURA_MUS_OS_EXCHANGE_DATA_PROVIDER_MUS_H_ | 6 #define UI_AURA_MUS_OS_EXCHANGE_DATA_PROVIDER_MUS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "mojo/public/cpp/bindings/map.h" | |
15 #include "ui/aura/aura_export.h" | 14 #include "ui/aura/aura_export.h" |
16 #include "ui/base/dragdrop/os_exchange_data.h" | 15 #include "ui/base/dragdrop/os_exchange_data.h" |
17 #include "ui/gfx/geometry/vector2d.h" | 16 #include "ui/gfx/geometry/vector2d.h" |
18 #include "ui/gfx/image/image_skia.h" | 17 #include "ui/gfx/image/image_skia.h" |
19 | 18 |
20 namespace aura { | 19 namespace aura { |
21 | 20 |
22 // Translates chrome's requests for various data types to a platform specific | 21 // Translates chrome's requests for various data types to a platform specific |
23 // type. In the case of mus, this is a mapping of MIME types to byte arrays. | 22 // type. In the case of mus, this is a mapping of MIME types to byte arrays. |
24 // | 23 // |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 gfx::Vector2d drag_image_offset_; | 107 gfx::Vector2d drag_image_offset_; |
109 | 108 |
110 Data mime_data_; | 109 Data mime_data_; |
111 | 110 |
112 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderMus); | 111 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderMus); |
113 }; | 112 }; |
114 | 113 |
115 } // namespace aura | 114 } // namespace aura |
116 | 115 |
117 #endif // UI_AURA_MUS_OS_EXCHANGE_DATA_PROVIDER_MUS_H_ | 116 #endif // UI_AURA_MUS_OS_EXCHANGE_DATA_PROVIDER_MUS_H_ |
OLD | NEW |