summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 01:52:03 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 01:52:03 +0000
commit92fee7f85eda4a8cd3482d2ff9da51ade9a58b65 (patch)
tree4cf2b2fd74b71a0c1f6e0d8ff69a09f994d077b8 /base
parent6ed4b93f7cf53af95c12e0e54a167b7f99028a82 (diff)
downloadchromium_src-92fee7f85eda4a8cd3482d2ff9da51ade9a58b65.zip
chromium_src-92fee7f85eda4a8cd3482d2ff9da51ade9a58b65.tar.gz
chromium_src-92fee7f85eda4a8cd3482d2ff9da51ade9a58b65.tar.bz2
...
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/gfx/native_widget_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/gfx/native_widget_types.h b/base/gfx/native_widget_types.h
index 1f696b0..2bdb4e9 100644
--- a/base/gfx/native_widget_types.h
+++ b/base/gfx/native_widget_types.h
@@ -31,6 +31,7 @@ class NSWindow;
class NSTextField;
#endif // __OBJC__
#elif defined(OS_LINUX)
+class SkTypeface;
typedef struct _GtkWidget GtkWidget;
#endif
@@ -40,14 +41,17 @@ namespace gfx {
typedef HWND NativeView;
typedef HWND NativeWindow;
typedef HWND NativeEditView;
+typedef struct HFONT__* NativeFont;
#elif defined(OS_MACOSX)
typedef NSView* NativeView;
typedef NSWindow* NativeWindow;
typedef NSTextField* NativeEditView;
+typedef void* NativeFont; // TODO(port): set the correct type here
#elif defined(OS_LINUX)
typedef GtkWidget* NativeView;
typedef GtkWidget* NativeWindow;
typedef GtkWidget* NativeEditView;
+typedef SkTypeface* NativeFont;
#else // null port.
#error No known OS defined
#endif