diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 21:08:49 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 21:08:49 +0000 |
commit | 12cfaa392ab53fc30ad41e884ba5cd3cf7251b55 (patch) | |
tree | 870c660d91c97d2bf6b1241c96b91df17b88045e /webkit/tools/test_shell/webwidget_host_win.cc | |
parent | d5c1af6b0da21c11e9327375d18fcd528023c7ad (diff) | |
download | chromium_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_win.cc')
-rw-r--r-- | webkit/tools/test_shell/webwidget_host_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/webwidget_host_win.cc b/webkit/tools/test_shell/webwidget_host_win.cc index 845abf3..8980d33 100644 --- a/webkit/tools/test_shell/webwidget_host_win.cc +++ b/webkit/tools/test_shell/webwidget_host_win.cc @@ -15,7 +15,7 @@ static const wchar_t kWindowClassName[] = L"WebWidgetHost"; /*static*/ -WebWidgetHost* WebWidgetHost::Create(gfx::NativeWindow parent_window, +WebWidgetHost* WebWidgetHost::Create(HWND parent_view, WebWidgetDelegate* delegate) { WebWidgetHost* host = new WebWidgetHost(); @@ -45,8 +45,8 @@ WebWidgetHost* WebWidgetHost::Create(gfx::NativeWindow parent_window, } /*static*/ -WebWidgetHost* WebWidgetHost::FromWindow(gfx::NativeWindow hwnd) { - return reinterpret_cast<WebWidgetHost*>(win_util::GetWindowUserData(hwnd)); +WebWidgetHost* WebWidgetHost::FromWindow(HWND view) { + return reinterpret_cast<WebWidgetHost*>(win_util::GetWindowUserData(view)); } /*static*/ |