| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 BASE_CLIPBOARD_H_ | 5 #ifndef BASE_CLIPBOARD_H_ |
| 6 #define BASE_CLIPBOARD_H_ | 6 #define BASE_CLIPBOARD_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | |
| 11 #include <vector> | 10 #include <vector> |
| 12 | 11 |
| 13 #include "base/basictypes.h" | 12 #include "base/process.h" |
| 14 #include "base/gfx/size.h" | 13 #include "base/gfx/size.h" |
| 15 #include "base/shared_memory.h" | |
| 16 | 14 |
| 17 #if defined(OS_MACOSX) | 15 #if defined(OS_MACOSX) |
| 18 #if defined(__OBJC__) | 16 #if defined(__OBJC__) |
| 19 @class NSString; | 17 @class NSString; |
| 20 #else | 18 #else |
| 21 class NSString; | 19 class NSString; |
| 22 #endif | 20 #endif |
| 23 #endif | 21 #endif |
| 24 | 22 |
| 25 class Clipboard { | 23 class Clipboard { |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 void InsertMapping(const char* key, char* data, size_t data_len); | 203 void InsertMapping(const char* key, char* data, size_t data_len); |
| 206 | 204 |
| 207 TargetMap* clipboard_data_; | 205 TargetMap* clipboard_data_; |
| 208 GtkClipboard* clipboard_; | 206 GtkClipboard* clipboard_; |
| 209 #endif | 207 #endif |
| 210 | 208 |
| 211 DISALLOW_EVIL_CONSTRUCTORS(Clipboard); | 209 DISALLOW_EVIL_CONSTRUCTORS(Clipboard); |
| 212 }; | 210 }; |
| 213 | 211 |
| 214 #endif // BASE_CLIPBOARD_H_ | 212 #endif // BASE_CLIPBOARD_H_ |
| OLD | NEW |