diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 20:50:39 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-21 20:50:39 +0000 |
commit | 933cc00eb856db684b9e64b7486ca20edbb2c3ea (patch) | |
tree | c7be5057c42ffb82e38d6fc421c0be524a2af7a1 /chrome/common/gfx | |
parent | d232c09f2584c80b6fde6b987fac32c8de57bfd7 (diff) | |
download | chromium_src-933cc00eb856db684b9e64b7486ca20edbb2c3ea.zip chromium_src-933cc00eb856db684b9e64b7486ca20edbb2c3ea.tar.gz chromium_src-933cc00eb856db684b9e64b7486ca20edbb2c3ea.tar.bz2 |
Port some files in chrome/common to Linux.
BUG=3649
Review URL: http://codereview.chromium.org/10255
Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gfx')
-rw-r--r-- | chrome/common/gfx/chrome_font.h | 3 | ||||
-rw-r--r-- | chrome/common/gfx/text_elider.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/gfx/chrome_font.h b/chrome/common/gfx/chrome_font.h index 2cfd28b..ffbbdd3 100644 --- a/chrome/common/gfx/chrome_font.h +++ b/chrome/common/gfx/chrome_font.h @@ -11,6 +11,9 @@ #if defined(OS_WIN) typedef struct HFONT__* HFONT; +#else +// TODO(port): Make it more real. +typedef void* HFONT; #endif #include "base/basictypes.h" diff --git a/chrome/common/gfx/text_elider.h b/chrome/common/gfx/text_elider.h index 26872db..e13dab6 100644 --- a/chrome/common/gfx/text_elider.h +++ b/chrome/common/gfx/text_elider.h @@ -7,7 +7,6 @@ #include <unicode/coll.h> #include <unicode/uchar.h> -#include <windows.h> #include "base/basictypes.h" #include "chrome/common/gfx/chrome_font.h" |