| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_H_ | 5 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_ |
| 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_ | 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
| 15 #include <objidl.h> | 15 #include <objidl.h> |
| 16 #elif !defined(OS_MACOSX) | 16 #elif !defined(OS_MACOSX) |
| 17 #include <gtk/gtk.h> | 17 #include <gtk/gtk.h> |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 #include "app/download_file_interface.h" | |
| 21 #include "base/basictypes.h" | 20 #include "base/basictypes.h" |
| 22 #include "base/file_path.h" | 21 #include "base/file_path.h" |
| 23 #include "base/scoped_ptr.h" | 22 #include "base/scoped_ptr.h" |
| 23 #include "ui/base/dragdrop/download_file_interface.h" |
| 24 | 24 |
| 25 class GURL; | 25 class GURL; |
| 26 class Pickle; | 26 class Pickle; |
| 27 | 27 |
| 28 namespace ui { | 28 namespace ui { |
| 29 | 29 |
| 30 /////////////////////////////////////////////////////////////////////////////// | 30 /////////////////////////////////////////////////////////////////////////////// |
| 31 // | 31 // |
| 32 // OSExchangeData | 32 // OSExchangeData |
| 33 // An object that holds interchange data to be sent out to OS services like | 33 // An object that holds interchange data to be sent out to OS services like |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 // Provides the actual data. | 191 // Provides the actual data. |
| 192 scoped_ptr<Provider> provider_; | 192 scoped_ptr<Provider> provider_; |
| 193 | 193 |
| 194 DISALLOW_COPY_AND_ASSIGN(OSExchangeData); | 194 DISALLOW_COPY_AND_ASSIGN(OSExchangeData); |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace ui | 197 } // namespace ui |
| 198 | 198 |
| 199 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_ | 199 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_ |
| OLD | NEW |