| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ | 5 #ifndef APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ |
| 6 #define APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ | 6 #define APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | |
| 14 | 13 |
| 15 #include "app/os_exchange_data.h" | 14 #include "app/os_exchange_data.h" |
| 16 #include "base/pickle.h" | 15 #include "base/pickle.h" |
| 17 #include "base/string16.h" | 16 #include "base/string16.h" |
| 18 #include "gfx/point.h" | 17 #include "gfx/point.h" |
| 19 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 20 | 19 |
| 21 // OSExchangeData::Provider implementation for Gtk. OSExchangeDataProviderGtk | 20 // OSExchangeData::Provider implementation for Gtk. OSExchangeDataProviderGtk |
| 22 // is created with a set of known data types. In addition specific data | 21 // is created with a set of known data types. In addition specific data |
| 23 // types can be set on OSExchangeDataProviderGtk by way of the various setters. | 22 // types can be set on OSExchangeDataProviderGtk by way of the various setters. |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 PickleData pickle_data_; | 107 PickleData pickle_data_; |
| 109 | 108 |
| 110 // Drag image and offset data. | 109 // Drag image and offset data. |
| 111 GdkPixbuf* drag_image_; | 110 GdkPixbuf* drag_image_; |
| 112 gfx::Point cursor_offset_; | 111 gfx::Point cursor_offset_; |
| 113 | 112 |
| 114 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderGtk); | 113 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderGtk); |
| 115 }; | 114 }; |
| 116 | 115 |
| 117 #endif // APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ | 116 #endif // APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ |
| OLD | NEW |