Chromium Code Reviews| Index: base/clipboard.h |
| =================================================================== |
| --- base/clipboard.h (revision 17958) |
| +++ base/clipboard.h (working copy) |
| @@ -21,7 +21,7 @@ |
| class Clipboard { |
| public: |
| typedef std::string FormatType; |
| -#if defined(OS_LINUX) |
| +#if defined(OS_LINUX) || defined(OS_OPENBSD) |
|
tony
2009/06/10 18:42:04
After some discussion with some others working on
|
| typedef struct _GtkClipboard GtkClipboard; |
| typedef std::map<FormatType, std::pair<char*, size_t> > TargetMap; |
| #endif |
| @@ -183,7 +183,7 @@ |
| // True if we can create a window. |
| bool create_window_; |
| -#elif defined(OS_LINUX) |
| +#elif defined(OS_LINUX) || defined(OS_OPENBSD) |
| // Data is stored in the |clipboard_data_| map until it is saved to the system |
| // clipboard. The Store* functions save data to the |clipboard_data_| map. The |
| // SetGtkClipboard function replaces whatever is on the system clipboard with |