summaryrefslogtreecommitdiffstats
path: root/base/clipboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/clipboard.h')
-rw-r--r--base/clipboard.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/base/clipboard.h b/base/clipboard.h
index 03def67..f9f21b1 100644
--- a/base/clipboard.h
+++ b/base/clipboard.h
@@ -26,8 +26,9 @@ class Clipboard {
typedef unsigned int FormatType;
#elif defined(OS_MACOSX)
typedef NSString *FormatType;
-#else
- typedef unsigned int FormatType;
+#elif defined(OS_LINUX)
+ typedef struct _GdkAtom* FormatType;
+ typedef struct _GtkClipboard GtkClipboard;
#endif
Clipboard();
@@ -133,6 +134,8 @@ class Clipboard {
std::string* url);
HWND clipboard_owner_;
+#elif defined(OS_LINUX)
+ GtkClipboard* clipboard_;
#endif
DISALLOW_EVIL_CONSTRUCTORS(Clipboard);