summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/webwidget_host.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 21:08:49 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 21:08:49 +0000
commit12cfaa392ab53fc30ad41e884ba5cd3cf7251b55 (patch)
tree870c660d91c97d2bf6b1241c96b91df17b88045e /webkit/tools/test_shell/webwidget_host.h
parentd5c1af6b0da21c11e9327375d18fcd528023c7ad (diff)
downloadchromium_src-12cfaa392ab53fc30ad41e884ba5cd3cf7251b55.zip
chromium_src-12cfaa392ab53fc30ad41e884ba5cd3cf7251b55.tar.gz
chromium_src-12cfaa392ab53fc30ad41e884ba5cd3cf7251b55.tar.bz2
Use gfx::NativeView instead of gfx::NativeWindow where appropriate. Switch to platform-specific types in the implementation files and change variable names to match the header. Based on cl 8783 by Evan Martin.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/webwidget_host.h')
-rw-r--r--webkit/tools/test_shell/webwidget_host.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h
index 8498c4f..7b09d16 100644
--- a/webkit/tools/test_shell/webwidget_host.h
+++ b/webkit/tools/test_shell/webwidget_host.h
@@ -24,12 +24,12 @@ class WebWidgetHost {
// The new instance is deleted once the associated NativeView is destroyed.
// The newly created window should be resized after it is created, using the
// MoveWindow (or equivalent) function.
- static WebWidgetHost* Create(gfx::NativeWindow parent_window,
+ static WebWidgetHost* Create(gfx::NativeView parent_view,
WebWidgetDelegate* delegate);
- static WebWidgetHost* FromWindow(gfx::NativeWindow view);
+ static WebWidgetHost* FromWindow(gfx::NativeView view);
#if defined(OS_MACOSX)
- static void HandleEvent(gfx::NativeWindow window, NSEvent *event);
+ static void HandleEvent(gfx::NativeView view, NSEvent* event);
#endif
gfx::NativeView view_handle() const { return view_; }
@@ -83,7 +83,7 @@ class WebWidgetHost {
// parent: a GtkBox to pack the new widget at the end of
// host: a pointer to a WebWidgetHost (or subclass thereof)
// ---------------------------------------------------------------------------
- static gfx::NativeWindow CreateWindow(gfx::NativeWindow parent, void* host);
+ static gfx::NativeView CreateWindow(gfx::NativeView parent_view, void* host);
void WindowDestroyed();
void Resize(const gfx::Size& size);
#endif