diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 19:22:22 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 19:22:22 +0000 |
commit | 2c8ef3436c78e91286f378bc8b50a3e6b0a86de7 (patch) | |
tree | cea3ba40c9a9293ce70c387bb292abe6e820dd06 /base/clipboard.h | |
parent | 4fde25f4d28399b79fc209869ad8d98a20aa1b0e (diff) | |
download | chromium_src-2c8ef3436c78e91286f378bc8b50a3e6b0a86de7.zip chromium_src-2c8ef3436c78e91286f378bc8b50a3e6b0a86de7.tar.gz chromium_src-2c8ef3436c78e91286f378bc8b50a3e6b0a86de7.tar.bz2 |
Added linux clipboard.
Review URL: http://codereview.chromium.org/7602
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/clipboard.h')
-rw-r--r-- | base/clipboard.h | 7 |
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); |